Limit FlxG.elapsed when using variable timestep

When using variable timestep, FlxG.maxElapsed will prevent FlxG.elapsed from being too high, which can cause very jerky movement and erratic behavior, especially when the game lags for a second.
Merge pull request #966 from Vascofr/patch-3

Limit FlxG.elapsed when using variable timestep