calendar: updates tests and code from jQUI.datepicker -- offsets for date