corrected handling of day wrap in opening_hours
added test cases for day wrap in opening hours
Merge pull request #435 from a-xin/master

Improved handling of day wrap in opening_hours