fix CCScale9Sprite CapInsets bug for rotated sprite frame
closed #2390, Resolve the bug in modify game projects tools.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
closed #2390, Resolve the bug plugin/tools/config.sh.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
issue #2390, Resolve the bug in file plugin/tools/toolsForGame/modifyClassPath.py.
Merge pull request #3130 from dumganhar/develop

Minor fix of PR 3128.
Merge pull request #3131 from dumganhar/develop

Minor fix in BezierTo::initWithDuration and BezierTo::clone.
Merge pull request #3126 from natural-law/develop

Resolve the bug in plugin tools
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