Auto-initialise datepickers on page load

Adds a datepicker-auto CSS class, and a line of Javascript to call the
.datepicker() method on all elements with that class when the page is
ready.