In which I demonstrate my ignorance of Python.

Fixed two issues caused my lack of Python experience. Added the init
file to turn the lib folder into a proper Python module, and restored
the code that exports my get_packages_list global function.

Also added code to strip out ignored packages from the list of available
packages.