local-metadata: Use bit operations for flags

https://bugzilla.gnome.org/show_bug.cgi?id=740927
local-metadata: Add support for getting gibest hash

From a gvfs-supported file, so we can get a list of subtitles for it.

https://bugzilla.gnome.org/show_bug.cgi?id=740927
gravatar: Update for key ID registration mem handling

https://bugzilla.gnome.org/show_bug.cgi?id=740942
thetvdb: Update for key ID registration mem handling

https://bugzilla.gnome.org/show_bug.cgi?id=740942
tmdb: Update for key ID registration mem handling

https://bugzilla.gnome.org/show_bug.cgi?id=740942