added missing service attribute for CHANGE_SVC_MODATTR cmd

the second argument for this command is the service name.

Signed-off-by: Sven Nierlein <sven@nierlein.de>
added shadownaemon tool

shadownaemon uses livestatus to create a shadow copy if a remote site which
then can be used to run livestatus queries against the local shadow copy.
While running it will update runtime data periodically. It therefor removes
network latency when connection to slow remote sites and it also reduces
bandwith usage when having lots of client connections.
Logfiles and commands are not supported and have to be queried directly via
the remote site.

Signed-off-by: Sven Nierlein <sven@nierlein.de>
implemented daemon mode
code cleanup

 - changed fprintfs into logit
 - set tmp_path before daemonizing because we need the pid path
 - fixed problem with trailing backslash in command line

Signed-off-by: Sven Nierlein <sven@nierlein.de>
implemented signal handling and custom variables

Signed-off-by: Sven Nierlein <sven@nierlein.de>
implemented modified attributes

Signed-off-by: Sven Nierlein <sven@nierlein.de>
shadownaemon: set flag and increase update interval if nobody accessed livestatus

Signed-off-by: Sven Nierlein <sven@nierlein.de>
shadow: at least read commands from file

Signed-off-by: Sven Nierlein <sven@nierlein.de>