Make gamelogic updates less framerate dependent

Gamelogic speed/speed of entities was dependent on how many ticks
were executed per second. This is now resolved by passing a timeDiff
to the onUpdate methods.