Fixed #1316289 - unable to add "startup applications" in gnome-tweak-tool

https://bugs.launchpad.net/ubuntu/+source/gnome-tweak-tool/+bug/1316289

Using os.getlogin() causes issues when the application is not tied to a controlling terminal. This replaces it with a more reliable method of getting the username.