resource-dbus: allow setting incomplete attribute configrations.
resource-dbus: made snprintf handling more robust.
mainloop: wakeup limits based on the bounded wakeup patch from Ismo.

Ismo did all the heavy lifting for this feature and provided the initial
implementation. To avoid having two slightly different wakeup mechanisms
I ended up adding the necessary bits to the original mrp_wakeup_t code.

This patch adds support for setting a lower and an upper limit on how
often wakeup callbacks can be triggered. The lower limit acts as a low-
pass filter, guaranteeing that wakeup callbacks will not be invoked more
often than once per lower limit interval. The upper limit defines a
forced trigger interval, forcibly triggering the callback once per upper
interval in the lack of other events of interest.

Here's the commit message from the original patch:

Bounded wakeup triggers a callback whenever the process wakes up, but not
before a minimum amount of time has passed since the previous wakeup. Even
if no wakeups happen, the callback will get called when a maximum amount of
time has passed. This property makes bounded wakeups useful when doing
energy-aware polling or cleanups.
Merge branch 'master' of github.com:otcshare/policy-internal
mql: properly handle floating columns in table definitions.
common: do not do arithmetic with void pointers (it's a gcc extension).
resource-wrt: do not use uninitialized variables.
core: first attempt at adding a common authentication infra, smack support.

Added a very simple authentication infra that lets you register
authentication backends and request authentication/access control
from a particular or any backend. The authentication API tries to
be a union of a SMACKish MAC (target / access-mode / id) and a
traditional authentication (target / id / authentication-token).
Hopefully it's enough to fill our needs without being too ugly or
unintuitive to use.

Currently there are two built-in authentication backends. One is
a straightforward SMACK backend, the other is an always-deny backend
which is installed to be the last backend in the chain.
plugin-test: added authentication test console command.
Merge branch 'master' of github.com:otcshare/policy-internal
core: fix embarrassing typo spotted by Ismo.