Merge pull request #333 from andrewmcgilvray/master

sanitise hostname in action_url for graphlot urls
precompile templates only when started by init script
use cache only for livestatus
use omd home folder if available
fixed typo
shadow: log startup in logfile
reports: show average sla in service reports too
add required slash for cookie path in chrome

Signed-off-by: Sven Nierlein <sven@nierlein.de>
fixed error when filter pane did not open again after first accept
omd: change into home folder
Better sorting of comments and downtimes

This fixes a few things mainly adding the ability to sort the comments
and downtimes on the host and service pages. There were also a few style
changes I made as I saw fit along the way.

Mostly, the style changes were just wording tweaks, capitalization and
formatting. Added output to show current sorting method by default. This
may not be desired but I liked it so I kept it. Can remove it if people
do not like it.
panorama: made tabs independent

- panels are not pinnable anymore
- tabs are now independant and can be exported and imported seperatly
- remove cookie state provider
panorama: new dashboards have to be saved serverside first
panorama: implemented importing single tabs
panorama: added dashboard management
panorama: added button to remove dashboards
Do not display sort order by default

Only display the sort order when it is not the default. Small HTML
fixes to prevent having an empty DIV for no reason.
panorama: allow import of old exports
Merge pull request #338 from awiddersheim/fix_comment_downtime_sorting

Better sorting of comments and downtimes
Update Service.pm

add support for shinken specific keyword : duplicate_foreach