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?
Hmmmm. This applies to more options than `min` and `max`. Maybe there should be one test that verifies all of the pass-through options in datepicker's API make it to calendar? It'd be good to get other opinions too. Maybe we can bring this up at the meeting today.