Refactoring squirrel sample code.

format source code.
Merge branch 'master' of https://github.com/tkyaji/cocos2d-squirrel