build-sys: don't move libgudev to /lib

It depends on libgobject and libgmodule which are installed in /usr/lib.
rules: updates to default device permissions in 50-udev-default.rules

Taken from the previous Debian specific rules, this is the remaining difference
over the upstream 50-udev-default.rules.
rules: load sg module from 80-drivers.rules

Taken from the Debian specific rules, this is the remaining difference over the
upstream 80-drivers.rules.

Bug-Debian: http://bugs.debian.org/657948
rules: set default polling interval on removable devices as well

The events_dfl_poll_msecs rule will not trigger if "block" is not a module, but
built in. This will avoid udisks etc. having to poll from userspace, and
provide proper ejection when the hardware eject button is pressed.

Bug-Debian: https://bugs.debian.org/713877
Bug-Ubuntu: https://launchpad.net/bugs/890592
rules: skip 99-systemd.rules when not running systemd as init
tmpfiles: fix permissions of /run/lock and /run/lock/lockdev
units: order remote-fs.target after local-fs.target

This change was part of the old debianisation branch created by Tollef
and reflects the fact that on Debian the $remote_fs system facility
depends on $local_fs.
units: make it possible to disable tmp.mount using systemctl

But enable it by default in make install and systemd preset.
kmod-static-nodes: condition execution on kmod binary

Creating the list of dead device nodes requires kmod. Inside containers
this is not strictly required so we don't want a hard dependency on the
kmod package. If the binary does not exist kmod-static-nodes.service
will fail, so add a condition to check if the binary is available.
shared: include stdbool.h in mkdir.h
core: collapse JOB_RELOAD on an inactive unit into JOB_NOP

Before this commit systemctl reload on an inactive unit with a queued
start job would block until the unit had started if the unit supported
reload, but return failure immediately if the unit didn't.

Additionally systemctl reload-or-try-restart (and systemctl force-reload)
would block until the unit had started if the unit supported reload, but
return *success* immediately if the unit didn't.

Finaly reload on an inactive unit without a queued start job would
reurn failure, but try-restart on the same job would return success.

This behaviour is unintuitive and inconsistent, so make reload of inactive
units behave just like try-restart.

Also fixes deadlocks on boot if a unit calls systemctl reload,
reload-or-try-restart or force-reload on a unit ordered later
in the boot sequence during startup.
manager: avoid restart jobs when shutting down.

Doing so won't work and makes no sense.

See http://bugs.debian.org/624599 and http://bugs.debian.org/635777
manager: avoid restart jobs that can lead to deadlocks during early boot

See http://bugs.debian.org/624599
sysv-generator: do not generate 'Wants' symlinks to generated service files that will be shadowed by a native unit.