Avoid calling update_program_status() from logging.c

It's only ever done when rotating the logfile, and the call to do so
is only done from events.c, where we now call update_program_status()
after the logfile has been rotated.

Avoiding it in logging.c means one can link to logging.o without
having to pull in statusdata.o and, by extension, xsddefault.o.
This has no impact what so ever on functionality, but makes it a lot
more pleasant to build tests and to create tools that utilize the
naemon core code for other uses.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Add oconfsplit, the object config splitter

oconfsplit is a tool used to help split configurations based on
hostgroups. You can, for example, use it to see which hosts are
actually included in one, or to generate configurations for
slave nodes that are supposed to take care of only a handful of
the monitored nodes.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Build stuff: Install all header files, and not just the devel ones

Since eventbroker modules will need all headers to build properly,
we need to ship all headers when installing. This patch takes care
of that, and should make naemon-devel a viable substitute package
for nagios-devel when building things like Merlin.

Signed-off-by: Andreas Ericsson <ae@op5.se>