Began implementing the collision system

Some collision checking and handling is being done at the moment, but
only a single response type is allowed and high speed collisions are
not handled well.