Merge pull request #86 from dumganhar/develop

Updates spidermonkey template, fix warning.
Update the generator.py
Merge branch 'develop' of git://github.com/cocos2d/bindings-generator into develop_bug_fix
Merge pull request #87 from samuele3hu/develop_bug_fix

Update the generator.py, remove '*' and 'const' when 'scriptname_from_native' returns.
Replace `NULL` with `nullptr`
Merge pull request #88 from samuele3hu/binding_fix

Replace `NULL` with `nullptr`
Fix wrong conversion of Acceleration.