Comply with full PEP8

[skip CI]
Move from unittest to nosetests

[skip CI]
More directly retrieve packages dynamically