added elapsedTimeInState to SKStateMachine for easy handling of time related states