Changes for gnome 3-14

Changed a couple of lines, now working in Debian Jessie, GNOME 3.14.1:
addProvider was changed to _registerProvider

It's probably now broken for 3.12, so this should be a separate branch