New indent rules

Noone really liked the old banner-style indentation. This commit
changes it to a more common style of indentation, which at least
suits me a lot better.

While at it, update "indent-all.sh" so it only indents files in
directories we currently care about.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Apply new indentation rules

Since we have them, we should use them. While at it, I manually fixed
(well, removed) the empty lines between functions where there were
more than 2, and also removed some superfluous comments.

Removing all top-of-function comments of this type:
  /* handles host performance data */
  int handle_host_performance_data(...) {}

would take far too long. If anyone's interested in doing just that
anyway, it'd be a (very) easy way to snag commits on the naemon
core ;-)

Signed-off-by: Andreas Ericsson <ae@op5.se>
Stop using the code as its own version control

Commented out code really has no place in an actively used and
developed sourcefile. The comment on *why* it was commented out
quickly gets stale, and if it needs to be resurrected that can just
as easily (if not easier) be done from a competent scm instead.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Get rid of all the #ifndef NSCORE and #ifdef NSCGI code

Since we killed off the cgi's in d2cdcb490c1928, we can finally
also lay this horrible spaghetti of ifdefs to rest. The core is
now the core, and we don't have to keep track of which variables
of which structs are only ever available when we build a certain
set of binaries as opposed to another set.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Remove test/test-downtime.pl

We have other means of testing downtime that doesn't require one
to pre-generate a configuration, so we'll drop this on the floor.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Remove more cgi remnants

Un-maintained tests as well as unused headers are hereby consigned
into oblivion. Very nice.

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