Use pgi if available, else fallback to gi
Use pgi if its available
Don't abort if local discover is not available
Add python logging module
Add LGPL headers
Add COPYING