Some performance tweaks for large number of services if livestatus is enabled.

* Optimized context_processors so the configuration (objectbrowser) works relatively fast even if livestatus is loaded
* Performance tweaks for the status frontpage