Change how logging categories are enabled and disabled.

Store a QSet with our own idea of what logging categories are enabled,
and install a categoryFilter that looks at that set to enable and disable
the categories for real. This is necessary because a category filter is
really the only place that legitimately gets a non-const QLoggingCategory,
and thus the only place where we can call setEnabled.