gnome 3.12 compatibility

Compability for Gnome 3.12, and a more robust firefox bookmark json parsing