Added test for spatial indexes.
Refactored spatial indexes to require objects that implemented a Bounded interface for getting the object bounds.
Added Stopwatch utility class.