Datepicker: Replacing grid, title, and datepicker templates with builder methods

This replaces 3 of the 5 templates in use. The remaining 2 (week and multi) should be pretty easy to build on top of this.

I wanted to get another pair of eyes on this before I continued with the next two.