Proper reporting of edge case task at midnight.

If a day other than today was at the end of the reporting range and
it had a task open at midnight, the reporting was screwed up.
This change fixes that case.
Also update the version number.
Deal with the second midnight reporting error.

If the first day of a report follows a day where a task was open across
midnight, we were not reporting the time between midnight and the first
entry.

I don't like the solution, but it works. Need to find a cleaner
solution.
Added docs for a new function I added.