Refactored platform object system

Objects interacting with platform objects now behave correctly with
velocity, acceleration, and deceleration.