Added axis aligned bounding box detection (for collisions)

New method getAABB() in class PlatformMovement correctly returns a
Rectangle of the change in distance from one frame to the next based on
x and y velocities. Also changed left and right movement to update
xSpeed instead of directly setting the x position in order to support
this.