issue #1803:refactor lua codes
Merge https://github.com/cocos2d/cocos2d-x into iss1803-spritetest-lua
Merge pull request #2155 from minggo/iss1803-spritetest-lua

refactor lua test cases