This also moves the packages to be installed into a file that can be shared between test methods. It drops several packages that are unnecessary for testing, and excludes those paths from pylint checks using pocketlint. Related: rhbz#1785154