Removed redundant code in FlxAnimationController

Added helper functions in `FlxAnimationController` to remove redundancies between add- and append- functions.