Mangle type names of subclassed GObjects

This avoids crashes when reloading the extension
(e.g. if it is being upgraded). This works
around https://bugzilla.gnome.org/show_bug.cgi?id=734071
and fixes #44