Remove bashisms from some of the shell scripts

fixes #7685

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Add missing validator for the socket_path attribute

refs #7901
Use Icinga 1.x Apache conf

This Apache conf is from Icinga 1.x and should work with Apache 2.2 and
2.4.

fixes #7929
cli: Fix node update-config errors

* fix hosts not created if config and inventory.index are missing.
* fix segfault if host already exists in inventory
* fix that newly listed node hosts are not added to the config repo
* fix repository removal of remove host/services on remote nodes
* fix missing/wrong locks for dictionaries
* fix missing directory create/chown

fixes #7518
fixes #7878
fixes #7917
fixes #7891

Conflicts:
	lib/cli/objectlistcommand.cpp
Fix unity builds on Windows

fixes #7644
Fix crash in the unit tests

fixes #7769
Redesign validators (WIP)