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?
Per the meeting let's go with a single test that loops over datepicker's pass-through options and make sure they're set on the underlying calendar instance.