Close config file after saving
Stop using nose for tests

Tests can be run using standard 'python3 -m unittest'
Move setup of paths for development mode into resources module
Revert to using distutils instead of setuptools
Use GLib functions to get user config directory
Set application name using GLib
Update desktop file and ensure icon cache update after installation
Set window icon in the application module