Adding the ability to use either a 12 or 24 hour clock in the time picker.

I made this modification some time ago and thought it might be a useful addition to the time picker.  It basically allows the user to configure the picker to use either a 12 hour clock with an AM/PM selector or a 24 hour clock.