hirestime implementation based on CLOCK_MONOTONIC

Not completely satisfied with the implementation. testing (IN A VIRTALMACHINE)
indicates a clock resolution of 1 second. which is rediculous. But having
written a battery of sanity tests, I can't see anything wrong. Will test on
"real" hardware and see what happens.