StateMachine related code refactoring

1. remove faked data
2. correct for android compilation
3. construct State factory
Fixed Multi Resolution Problem

1. cocos2d seems doesn't work well on design resolution when facing high
resolution like 1080X1920. Have to do the scaling by myself.
2. Implement EntryState.