Added collision detection

Basic collision detection infrastructure using spatial hashing has been added. Additional tests in the CollisionDetector class must be added to verify functionality.