Move collision detection into Sprite class.

Had to keep checking bottom collision in Player class because it assigns
isOnBottom. Hoping for a way around that eventually as it's a lot of
code duplication for one variable assignment. It could be involved in a
return value for checking collision.