move some common functions
Merge branch 'master' of https://github.com/headphonesjones/Blohaute
availability by day returns times and objects