ido: Fix hosts without hostcheck service not being dumped to config table.

still, the status update must be triggered by icinga2 which does not
happen currently.

fixes #4500
ido: Refactor CompatUtility::GetServiceConfigAttributes()

refs #4500