Added code for day of the week and weekend/weekday selectors

Added functionality to single- and range-select events

Changed name of callback option to 'onChange'

Added a default no-op method for onChange

arCal() function returns selected element for chaining

Heavy refactoring of code into smaller functions