resource-wrt test: don't hardcode server address (other than for media).
websockets: serious code uglification to compile with latest libwebsockets.

Please, someone make the bad libwebsockets people go away... Why can't
they fix most of the abstraction problems, inconsistencies, namespaceing
issues and other annoyances at the same time if they decide to break their
APIs. I mean, if you force people to touch their code, you at least ought
to try to minimise their pain by maximising their gain...

Anyway, as soon as we're sure we don't need to support any of the older
(pre-1.2) libwebsockets versions, we really need to rip out most of the
the current #ifdef-jungle and other releated kludgery that was brought
in by having to supporting 3 different versions...
websockets: less verbose libwebsockets logging.
resource: make resource-client not crash if no requests are completed.
common: added support for detecting process state changes.
build: add process watching to build.
tests: added a test for process watching.
common: make sure *alloc(0) returns NULL.

The C standard allows [mc]alloc(0) to return a unique non-NULL pointer
instead of NULL and indeed the stock allocator in recent versions of
glibc does behave this way. We prefer our zero-sized chunks of memory
to be represented by NULL, so we take care of this in the allocator
wrappers.
common: fix a JSON convenience macro copy-paste'o.
domain-control: support for multiple transports, including websockets.

Support for multiple plugin instances and a messaging overhaul to support
multiple transports. In particular, support for websocket transports with
JSON messages and serving JS API/agents to allow data export/import to/from
web runtimes. The seeds have been planted to support internal transports
(to allow for domain-controllers as plugins) although this is completely
untested at the moment.

On the configurability front it'd be a good idea to still add table access
control (white/blacklisting tables for import/export) and table name mapping
(among others to allow changing data models without having to touch external
domain controllers) should be added.
daemon: load a domain-control plugin for webruntimes in the sample config.
domain-control: javascript API hack + a small demo/test

Hacked together a javacript API and wrote a small test that imports
the audio and video playback owners from murphy and exports a single
increasing integer counter to murphy. Well, how should I put this...
the javascript API needs more work. This is more of a PoC proto than
the real thing. Especially when it comes to error handling.
Merge branch 'master' of github.com:otcshare/policy-internal
licensing: added missing licensing information to a bunch of files.