Add logging mechanism. Allows to start API with different log levels:
	QUIET / SUMMARY: only give necessary information or shut up completely
	ERROR / WARNING / INFO: give the respective information.
	DEBUG / DEBUGAPI / DEBUGHAL / DEBUGRPC / DEBUGUSB: give detailed debug output
                for the mentioned library parts, including all levels above.
The logging mechanism is the same as used in CMSPixelDecoder and a more detailed docu
can be found here: https://github.com/simonspa/CMSPixelDecoder/blob/master/README.md
Also log function name and line number in API
print function name and line number only for the DEBUG levels, not for the ones above.