Adding beforeShowDay function. Very similar to jquery datepicker beforeShowDay option at http://api.jqueryui.com/datepicker/#option-beforeShowDay
Improve beforeShowDay option to be a bit more extensible in the future
Merge #305 from gabriel/master

beforeShowDay option