Added an optimized RTree library (made by somebody else).
I've begun a SpatialAlgorithm wrapper, but it doesn't work yet. This can be finished if the current RTree implementation doesn't work quickly enough. I've also done some tests on the RTree algorithm, and it seems to work (further testing is necessary, but boring).