LPS-31933 - This date conversion makes the all day events to fit to their days
LPS-31933 - Moving this rather awkward date conversion to a util function, as well as using DateMath for conversion now
LPS-31933 - Better name to the conversion function
LPS-31800 - Subtracting 1 ms from end date of full-day event. In this way, the end date is sent back to the real end date and has the values frequently used by the calendar portlet as end time for all day events (something like 2013-03-30 23:59:59.999
Revert "LPS-31997"

This reverts commit 878e51fea7309d83146c095f9dce62eee294eaee.