use cocos2d-x c++ style

1. func( xxx ) -> func(xxx)
2. include lib header before other header files
3. func(void) -> func()
4. my_var -> myVar
5. NULL -> nullptr
6. add a space after `if`
7. put `{` in a new line