rest - update livestatus connection
hostgroups.html - fix indent
state_history updates

Refactor state history stuff.

state history inside hostgroup detail is now javascript loaded
for better response times
status/hostgroup/detail - lazy loading

Lazy loading of hosts and services