fixed bug with 12pm times

If a time in the 12pm hour was specified (not using noon) it would get
converted to hour 24 and therefore am. Ooops.
added noon and midnight
better tab detection
bug fix if pm is specified in end time
testing happy hour