Fixed the date filter of the list
Improved the planned downtimes calculation for the SLA functions

Now the functions "reporting_get_agentmodule_sla" and
"reporting_get_agentmodule_sla_array" do the planned downtimes
calculation correctly.