
Removed last instance of the evil SECS_IN_DAY constant that is the ticket
to wrong code when DST comes into play

Fixed calendar_get_upcoming to perform DST corrections according to the
server's TZ (now the users as calendar doesn't support that, but it's a start)

Removed some dead code

dilawar/moodle