[WIP] Inverse timestamp to TimeValue calculation

Far from being finished. Not needed currently because of https://github.com/wmde/WikibaseQueryEngine/pull/45. I just wanted to store this somewhere as a draft and let you know.