Calendar rebase

This replaces #1281.

Fixed unit tests and cleaner history based on Scott's rebase. Unit tests work in latest FF and Chrome but still fail via grunt. @jzaefferer You mentioned an upcoming improvement for asycTests?
Yeah, personally I don't see any reason to test the calendar's structure in datepicker's tests. Testing for the additional class name is probably all this needs to do.