app: Use g_variant_lookup instead of dict iteration
app-system: Fix some enum warnings

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