PlatformGenerator class + animation structure

Moved all of the platform generation code from Main.as to the new class
in PlatformGenerator.as. Added all of the animation structure required
in Player.as and used this to implement the running animation.