context: use G_DEFINE_QUARK
context: use g_object_class_install_properties