Still trying to fix Travis build [2]

Decouple BaseConfig from config.py to avoid depending on GLib, Gio.