IE8 Support Fixes

Hey there 

I rewrote the toArray method so that it works under IE8.
Also added a try/catch wrapper for a spot which was giving us problems using indexOf on CALENDAR.items also in IE8

I did not update the minimized versions because I wasn't sure how you wanted to do that - what compiler, etc.

Cheers
Mr Rogers