Merge pull request #9201 from MSOpenTech/v3-win8.1-appstate

V3 win8.1 universal app pause and resume support
Code conforms with the cocos2d-x c++ guidelines
Merge pull request #9238 from ricardoquesada/guideline_fixes

Code conforms with the cocos2d-x c++ guidelines