common: more versatile data serialization via native-types.

Added native-types (and a primitive TLV encoder/decoder) to
provide more flexible and versatile data/type serialization.

Ideally (and eventually) we'd like to be able to throw any
natively declared data type at any supported transport and
have that automatically take care of the serialization and
deserialization necessary for transmission. Although with
this initial implementation we're far not there yet, this
should already provide a much more flexible framework to
work with and later build upon than what the original
MRP_TRANSPORT_MODE_DATA is capable of providing.

There are still quite a few rough edges and features either
missing or not fully implemented, including but not limited
to

  - support for unions,
  - implement blobs,
  - automatic handling of linked lists of known types
  - support all the (sensible) type/layout combinations
  - allow self- and cross-referencing data types (IOW
    allow forward-references to yet undeclared types, and
    provide a function for checking if a type is complete,
    ie. there are no undeclared types it references, and
    this holds true also for all its referenced types)

Eventually we'd like to get to the point where, instead of
having to keep the limitations of the available transport
encoding and decoding in mind, one could freely design data
types as seen fit, and the transports could always handle
them.
common: arrays of basic types in native-types.

Hmm... looks like I've partially overlooked/forgotten about
arrays of basic types. Part of the code was there, part was
missing and part was simply broken. With this band-aid fix,
at least the basic cases should work. Let's see what else is
missing...
common: initial support for native transport mode.

Added transport mode MRP_TRANSPORT_MODE_NATIVE to transmit
and receive registered native-type's. Now that it's been a
while since I last dug in, I can tell the transport infra
could use a heavy-handed cleanup / refactoring.
common/dbus: systemd-bus based murphy-dbus implementation.

Added an alternative murphy-dbus implementation based on the
low-level D-Bus library (systemd-bus) from systemd. This needs
a patched systemd to build and install systemd-bus as a shared
library.

To get rid of libdbus-dependency it was also necessary to provide
an abstraction for message building and parsing and hence break
backward compatibility. To ease the transitional pain, we provide
currently three version of murphy-dbus: the original one with the
leaky message abstraction, as well as a libdbus- and a systmed-bus-
based one with the new abstraction. Once all the code has been
updated to not use directly libdbus calls for message building and
parsing, the original library will be removed.
resource-dbus: converted to new D-Bus library API.
common: added a unit test for sdbus error message handling.
common/dbus: added patch for Fedora 18/systemd-201 src.rpm.

If you download the official Fedora 18 systemd source RPM, patch
it with this patch and rebuild, you should get two additional
subpackages: systemd-libs-dbus and systemd-libs-dbus-devel. These
include a shared version of systemd's dbus library, systemd-bus.
Installing these should allow you to test/use the systemd-bus based
version of murphy-dbus.
common/dbus: added patch for Fedora 19/systemd-204 src.rpm.

If you download the official Fedora 19 systemd source RPM, patch
it with this patch and rebuild, you should get two additional
subpackages: systemd-libs-dbus and systemd-libs-dbus-devel. These
include a shared version of systemd's dbus library, systemd-bus.
Installing these should allow you to test/use the systemd-bus based
version of murphy-dbus.
common: adjusted dbus MRP_REGISTER_TRANSPORT usage.
common/test: post-merge Makefile.am fix.
resource-dbus: fix a buffer overflow.
lua-decision: don't crash in table/select constructor if arg is not table.
Merge branch 'master' of github.com:otcshare/policy-internal
resolver: print the resolver graph to console in DOT format.
Merge branch 'systemd-bus+native-types'
common: small inclusion and macro fixes for native-types.
common: allow setting a mapping table of native-type id's for transports.

Added support for a native-type id mapping table for transports. This
is necessary to avoid the problems arising from not having the exactly
same set of native-types registered (or having the same set registered
in different order) by the communicating parties. With this mechanism,
it is enough for the communicating parties to agree about the ids of
the native-types passed over that particular instance of transport
instead of having to agree about the ids of all the registered native-
types over all the transports.

The support is still a bit lacky on the user-friendliness side. We'll
probably need a few additional macros and convenience functions to
allow people to easily set up a mapping table correctly.
build-sys: install dbus-error.h.
resource: add 'resource_set_id' column to resource owner tables
resource: pass the requesting resource set in an argument to the veto functions