fixed 12:xx am bug in parser

If a restaurant closes after midnight but before 1 it was getting picked
up as pm and not post midnight. I added some extra logic to check for
that case. Also, it now handles places that are open from some time like
12:15am to 12:40am.