Call glib-compile-schemas correctly in install scripts

The glib-compile-schemas command needs to be called on post_install, post_upgrade and post_remove. Clean up empty functions.