Add Log class to check log format.

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>
Update configuration parser to read hosts and services

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>
Add received information checking.

Add check of log structure when received.
Now each client has to transmit only those logs
which are allowed in configuration file.

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>
Remove unnecessary '\n' and debug.

Remove '\n' while writting to icinga and additional debug message.

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>