common: quit iterating for MRP_HTBL_ITER_STOP verdict.
common/hashtbl: always unlink empty buckets from the used list.
common/tests: add a hash table test that adds and removes twelve objects.
build-sys: silence/fix warnings from autotools.
common: mainloop support for edge-triggered I/O events.

This patch adds support for specifying on a per-watch basis whether
I/O events should be level or edge-triggered and also for setting
and retrieving the default I/O event trigger mode.

Because we provide both default and per-watch settings, we need an
extra flag for indicating level-triggered mode for a watch when the
default is set to EPOLLET (MRP_IO_TRIGGER_EDGE). This makes the patch
slightly more complex than just providing the necessary enum flags.
common/tests: added hash12-test.c that fell off in the previous hand-merge.
core, domain-control: added proxied domain function calls.

Added a mechanism for exporting and invoking 'domain' functions.
Domain controllers can register functions which then can be invoked
by the core. The core uses the domain-control plugin to proxy the
call to and the return from the invocation. These functions currently
cannot be queried by the core. Trying to invoke a non-existing function
will fail asynchronously. Trying to invoke a function of a non-existing
domain controller will fail synchronously.

Similarly, the core can export functions which then can be invoked
by domain controllers. The domain-control plugin proxies the call to
and the return from the invocation. These functions currently cannot
be queried by the domain-controllers. Trying to invoke a non-existing
function will fail asynchronously.

We shouldn't need to have a domain-control specific export mechanism
at all. We need to replace all the various import/export/invocation
mechanism (there is one at least in the plugin infra, in the resolver
and now this) with a single one at its core and only adapt it as
necessary for these various components. Eventually...
test-domain-controller, plugin-test: add a test for proxied domain functions.
core: funcbridge can now return arrays.

The values of arrays are limited to { number, boolean, string }. The numbers are
returned as doubles.
resource-backend: emit resource set events and extend the client API.
domain-control: Improve set/notify parsing

This fixes warnings given out by clang's static analyzer
libresource: Catch an allocation failure
websockets/json: Fix crashes due to misuse of internal APIs

This enables usage of the test page without causing segfaults
websockets: Do not output creation events with a seq of 0

This was the only event as a response that didn't match the seq
with the query's
build: Add JSON_LIBS to murphyd's linker flags
common: Don't use the trailing null with unix socket paths

Affects {stream,dgram}-transport; Bind/connect doesn't ignore/
remove the null, and most things don't have a null at the end
of the socket's path.
mdb: Have libmqi test use fputs instead of printf where appropriate

Use of puts is not a 1:1 replacement as it appends another endline
character, which fputs doesn't do.
WIP: fmbt/python related files, commit to keep track of what I've got so far
native_resource: Implement a lot of things

We now run the Murphy main loop in its own thread, so that it
does not block our own stuff. Also we actually create a resource
set and try to acquire a resource.

Currently fails with "E: ignoring malformed resource event", but
this might be because of the initial messages from Murphy. PEBKAC
of course possible, as always
native-resource: Test Python script successfully gets resources