New functionality to start the program as daemon

A first draft of the logic to start the
program as daemon in background.
New python base class for the log file parser module

Base class which implements basic input operations open/read/close
Fixed typo in copy right header.
Reworked interface of data_socket.h
to make the mutex usage opaque for the caller. This is now done in
sendMessage() and not in getCircuitState() any more. Furthermore a bit
of error handling was added. The the polling loop will now be executed
after it is certain that the socket thread was created succesfully. Thus
sendMessage() calls to a non existing thread are avoided.
Added respective debug level info to notification message
Some more conditional compiling instructions