Bug 1093058 - [Calendar] update the way all day events are calculated

casting to `Number` is necessary because `Date` is an `Object`, so `new Date(2014, 10, 10) !== new Date(2014, 10, 10)`.

one thing tho is that this method is not needed anymore since we replaced the MonthsDay and Day/Week views.. hehe

I'll delete this.