fixed bugs 20130208 and 20130505 with new IntervalTree.heapifyMax (and heapifyMin for good measure), added repro and further test cases