Implement generic color support for terminals

fixes #7396
Remove some unnecessary #includes
Add missing locks

refs #7251
Fix another deadlock in TlsStream
Implement granular logging for objects

- 1 new attribute for all objects, log_verbose
- So far this works for the checker and icinga component, all objects used underneath too; user, timeperiod, hostgroup, etc...

refs #7394