Added spatial indexing, now just have to modify gamestate to use the new underlying structure.
Adding spatialindexmap
Merge remote-tracking branch 'origin/master'