Implement support for writing the icinga2.debug file

refs #6702
Add debug hints for attributes

refs #6702
Add Python module for the icinga2.debug file

refs #6702