fix CCScale9Sprite CapInsets bug for rotated sprite frame
Merge remote-tracking branch 'origin/develop' into patch1
add  S9FrameNameSpriteSheetRotatedSetCapInsetLater test
Merge branch 'patch1' of https://github.com/pktangyue/cocos2d-x into pktangyue-patch1
issue #2393:mark functions in CCPointExtensions deprecated
closed #2396: indentation fix.
issue #2396: Updating Scale9SpriteTest.cpp.
Merge pull request #3133 from dumganhar/pktangyue-patch1

Merge PR https://github.com/cocos2d/cocos2d-x/pull/3097
Update AUTHORS [ci skip]
getInstance() / destroyInstance() are used...

... instead of sharedXXX / purgeXXX.
They are more C++ friendly, and also easier to remember.

common files + Mac files + iOS files + tests/samples files were updated.

The old methods are deprecated now.
issue #2397: Director::sharedDirector --> Director::getInstance() for all files.
issue #2397: FileUtils::sharedFileUtils --> FileUtils::getInstance() for all platforms
issue #2397: Updating cocos2d.ini and CCFIleUtils.pkg.
issue #2397: EGLView::sharedOpenGLView() --> EGLView::getInstance()
issue #2397: Shader::sharedShaderCache() --> Shader::getInstance().
issue #2397: Updating bindings configuration. [Lua and JS].
issue #2397: sharedAnimationCache --> getInstance.
issue #2397: Updating CCAnimationCache.pkg
issue #2393:mark ccp as deprecated
issue #2397: sharedSpriteFrameCache --> getInstance, purgeSharedSpriteFrameCache --> destroyInstance.