classic-ui: fixed wrong default sorting for HOST_DETAIL_VIEW in status.cgi #4404

Hosts without services get added to the status list AFTER hosts with
services attatched. And if the host list gets displayed then the hosts with
services got displayed first. But it's fixed now.

refs: #4404
Merge branch 'next' into fix/hosts-not-sorted-alphabetical-4404
classic-ui: fix for hosts in hostgroups are not sorted alphabetical #4404

the "CMP_HASH" macro didn't work so well for sorting strings. The old method
with "strcmp" for adding hosts to hostgroups and hosts/services to
servicegroups has been restored and works again

refs: #4404
whatthecommit.com: done. going to bed now.
classic-ui: fixed disapearing scheduled downtime for down hosts in tac.cgi #4260

The if statement used a wrong var, that's why the "box" disapeared when there
was only scheduled downtime on down hosts. Now the correct var is used and
the scheduled downtime services on down hosts get displayed properly.

fixes: #4260
whatthecommit.com: is there an achievement for this?
tests: added cgi JSON output tests #3203

new tests for cgi JSON output. Already found two failed tests. :-)

refs: #3203
Merge branch 'next' into fix/scheduled-donwtime-disapears-in-tac-4260
Merge branch 'next' into feature/test-for-correct-cgi-json-output-3203
Merge branch 'next' into fix/hosts-not-sorted-alphabetical-4404
classic-ui: Changelog entry for #4404 added

refs: #4404
classic-ui: added custom vars to extinfo JSON output #4390

Also changed "cgi_json_version" to 1.10.0

refs: #4390
classic-ui: cgi json test errors fixed

refs: #3203
whatthecommit.com: It's getting hard to keep up with the crap I've trashed
Merge branch 'feature/classic-cv-with-excludes-4390' into next

fixes: #4390
Merge branch 'fix/scheduled-donwtime-disapears-in-tac-4260' into next

fixes: #4260
Merge branch 'fix/hosts-not-sorted-alphabetical-4404' into next

Conflicts:
	Changelog

fixes: #4404
Merge branch 'feature/test-for-correct-cgi-json-output-3203' into next

fixes: #3203