fixing errors to make extension run on gnome 3.8
fixing daemon code to be compatable with python 2
Merge branch 'hotfix/gnome-3.8'