Comment 8 for bug 1267239

Have split this patch up into multiple patches to deal with the adding of timepicker, adjusting timepicker, adjusting pieform calendar element, and removing of old jscalendar:
https://reviews.mahara.org/3413
https://reviews.mahara.org/3414
https://reviews.mahara.org/3415
https://reviews.mahara.org/3416