Merge pull request #5 from xnox/fix-refactor

Fix refactor
Merge pull request #6 from xnox/master

convert to python3
quirks-handler, setup.py: Move to Python 3 as well.
releasing version 1:0.2.55
UbuntuDrivers/detect.py: Add nvidia-* for automatic installation after discussion with Chris. The proprietary driver is still the better choice (if you click "proprietary 3rd party drivers" in Ubiquity) until Nouveau enables power management.
tests/ubuntu_drivers.py: Update test_auto_install_chroot() for above change, as nvidia now does get installed automatically.
Quirks/quirkapplier.py: Update to current xkit API: Call write(), not writeFile(). (LP: #1014728)
UbuntuDrivers/detect.py: Change system_modaliases() to return an alias → sysfs_path map, instead of just a list of aliases.
adjust another test case for nvidia-current now being in the auto-install list
UbuntuDrivers/detect.py: Change system_driver_packages() to return a package → info map, instead of just a list of packages. UI can use the info to show which device requested a driver, whether it is free or proprietary, and whether it is a distro or third-party package. (LP: #1013665)
Fix fd leaks from subprocess in the test suite.
Add debian/tests/system and debian/tests/control: Add autopkg test to check that we can detect, install, and remove the nvidia, fglrx, and bcmwl drivers. Due to their nature of being compiled on the client side and depend on matching kernel headers/API, they are inherently a bit brittle and thus we should spot regressions immediately.
releasing version 1:0.2.56
debian/tests/control: Drop undefined "no-build-needed" feature.
debian/tests/system: NVidia and FGLRX drivers produce some stderr output when installing the packages. Don't fail on them, but do show the output in the test suite.
releasing version 1:0.2.57
Add detect-plugins/arm-gles.py, thanks Oliver Grawert! (LP: #1016006)
debian/tests/system: Add test for virtualbox-dkms.
debian/tests/system: Add test for sl-modem-dkms.
releasing version 1:0.2.58