WIP turn into GApplication
cmdline is now handled by primary instance
uniqueness is now controlled by GApplication
drop unused dbus code
less mess with mainloop

fixes some weird bugs