i18n: Format time dropdown via config time format

Use the admin-configured time format for formatting the values in the time
dropdown as opposed to always using 24-hour time.
Merge pull request #1036 from greezybacon/issue/632

i18n: Format time drop down via config time format

Peter Rotich <peter@osticket.com>