TimeMap: fix the timePassedUntil() method

whoever wrote the original code must have his brain left in the bed
that day ;)...
TimeMap: extend unit tests for the time levels

I forgot, sorry...
Merge pull request #141 from andlaus/timemap_fix_timePassedUntil

TimeMap: fix the timePassedUntil() method