(Unfinished) Attempt at collision detection

Pushed to master since the unfinished code is disconnected from
everything else so far. Once working, should also replace
getGroundLevelAt.