Cleanup the G_LOG_DOMAINS we use especially for debugging

 * cockpit-protocol: low level stuff, very busy repetetive messages
   produced by both cockpit-ws and cockpit-agent processes
 * cockpit-ws: web service higher level
 * WebSocket: the web socket code (separate from cockpit)
 * cockpit-agent: the agent specific code

You'll likely need to 'make clean' after applying this patch.

Closes #569
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
test: Remove *.pyc files when doing 'make clean'

git can confuse python, which checks the last modified date
of the pyc file.

Closes #570
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: G_LOG_DOMAIN fixes for clang

It seems that clang expands nested macros differently than gcc
so we need to redefine G_LOG_DOMAIN earlier in some cases.

Closes #569
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
agent: Fix another use after free in CockpitDBusJson
agent: Fork CockpitDBusJson into the old CockpitDBusJson1

We'll be implementing a new dbus-json2 protocol and migrating
away from dbus-json1

The javascript code which calls into the old protocol is rather
ugly, requiring explicit use of { protocol: "dbus-json1" }
everywhere. That's intentional.

The first change to the new dbus-json2 is that we include the
signature along with variants like this:

 { "sig": "u", "val": 1234 }

Closes: #568