implemented CalendarService.isMidnightDate()
added to CalendarScriptService: isMidnightDate, getMidnightDate,
getEndOfDayDate