Minor code optimization.
Add iphonepicker to create iOS style slot machine picker.

Fix a bug in selector to make iphonepicker work with jQuery 2.x
Move the daytime picker to popup.

The UI is less cluttered this way.
Remove the day and time columns in teachRegs table. Since there could be
multiple day/time entries. These data are going to be stored in the data
column.
Daytime picker now works. It is also improved to enable more
customization.

The daytime can now be added and deleted as well. Still need work on
daytime modify and save.
Modify class daytime on new student page now works.

So all functions including add, delete, modify and save class daytime on new
student page, work now. Also add daytimes in mockdata. Fix bugs in
iphonepicker refresh where the raw control selected attribute is not
synced.
Add class time and stamps count displays on student details page.

It is only the display. None of the drill down list item or modification
buttons work as yet. Still thinking about the best way to implement the
function without too much repeatition.
The class daytime management functions are now available on both new
student and existing student details page.

The code is also refactored heavily to reduce redundant code so both of
the pages utilize a single set of code.