fixed missing copy constructor and proper handling of unitialized values on object destruction in IntervalTree class; new unit test to test for STL safety