Added a new file with functions to manage the planned downtimes
Added a check to know if exist malformed planned downtimes and an option to solve the problem
Minor fix
Fixed an infinite loop on the function "reporting_get_planned_downtimes_intervals"
Fixed an error on the function "reporting_get_planned_downtimes_intervals"
Improved the output of the function "planned_downtimes_get_malformed"
Added a check for malformed planned downtimes to the report item 'SLA'
Now the malformed planned downtimes have more visibility
Fixed some planned downtimes queries
Fixed a require on the function "reporting_render_report_html_item"
Fixed the planned downtimes info for the SLA report item on the metaconsole
Merge branch 'feature/planned-downtimes-migrator' into develop