gtktemplate: only call the custom init hook if the class has it. Fixes #267
Otherwise we call into getattr implementations of subclasses, like the overrides for Gio.DBusProxy. This is particularly bad because the instance isn't initialized at that point yet.