common: int/short/size_t support for native-types.

Added support for unsigned/signed int's, unsigned/signed short's,
size_t's and ssize_t's. All of these types are encoded as 32-bit
integers (and currently without a check for overflow, so now you
have been warned).
common: exercise some of the extra types in native-types test.
common: small transport fixes to enable socket-based activation.

This patch fixes the most obvious shortcomings in the transport
implementation that currently prevented us from having transport
socket-based activation. With this patch in place, socket-based
activation should work for stream transports.
mdb: free memory if an update doesn't cause a row to be changed.
common: don't allow mark_deleted corrupt the pending deleted list.

Make sure mark_deleted is not called twice for timer, deferred,
or wakeup objects to prevent it from corrupting the list of
pending deleted objects. The corruption itself is the result
of the same object being linked twice to the pending list and
consequently free'd twice. The other types of objects were
correctly protected against this.

The 'safeguard' is just check that the object had not been deleted
before calling mark_deleted. It would be safer to add this check to
mark_deleted itself but since the check is usually needed to protect
other things as well it is now done always by the caller.
Merge branch 'master' of github.com:otcshare/policy-internal
common: typeid -> type_id, because typeid is a C++ reserved word.
mdb: fix the delete wrong line bug when updating the table.
lua-utils: include missing header for bool.
Merge branch 'master' of github.com:otcshare/policy-internal
lua-utils: fix MRP_LUA_LFUNC/MRP_LUA_FUNC setter type checks.
lua-timer: tostring thinko fixes.
plugin-console: configurable debug metadata, defaults to 'function'.
common: make sure the logger is never recursing

Make sure the logger is never recursively invoked. The default logger
backend can never recurse. However with an overridden backend this
could happen, especially if the backend pushes log messages over a
transport or some other generic IPC. If something goes wrong at the
IPC level, an error is usually logged. If this results in an attempt
to use the same IPC we might end up recursing ad infinitum, or rather
ad stack-overflowtum...

Since we can't safely assume backends to properly check and handle
such a corner case, it is better to protect against this in the
common infra.
resource: cope with NULL reqset in mrp_resource_lua_veto()
resource-dbus: fix an error case.
Merge branch 'master' of github.com:otcshare/policy-internal
common: fix a buffer overflow.
common: #define UNIX_PATH_MAX if needed.
common: fix another buffer overflow.