Use object name if HOSTADDRESS macro isn't defined.
compat: Refactor check_command/event_handler code.
Merge remote-tracking branch 'icinga2/master'