fix property anchorPoint of CCScale9Sprite 

fix property anchorPoint of CCScale9Sprite doesn't work in ccb. Because initSpriteFrame method reset anchor point
Linux: Set writable path to "<user's home>/.config/<app name>"
Merge remote-tracking branch 'upstream/master'

Conflicts:
	cocos2dx/platform/linux/CCFileUtilsLinux.cpp
Linux: Set writable path to "<user's home>/.config/<app name>"
Merge remote-tracking branch 'upstream/master'
Restore codes of init m_strDefaultResRootPath
Check array boundaries to avoid the "array-bounds" error on linux

Compiling on linux causes the error "array subscript is above array
bounds [-Werror=array-bounds]". This commit adds boundary checking
using the constant defining the maximum number of items in the "nuke" array.

Signed-off-by: Roger Zanoni <roger.zanoni@openbossa.org>
Read app name from /proc/self/exe
Set writable path to XDG_CONFIG_HOME if it exists.
Fixing SpriteBatchNode and LabelBMFont to prevent error when release is called without calling init
fixed a bug that was causing x86_64 tests to crash while loading
ccbuilder files
remove duplicate default variable definition
Merge pull request #2363 from dumganhar/master

Fixing an issue of out of bound in CCTableView.cpp.
Merge branch 'master' of https://github.com/billy1380/cocos2d-x into billy1380-master
fixed #2051: TestCpp/ExtensionsTest/CocosbuilderTest crashes under x86_64 target.
fixed #2051: Comment update, int ~> intptr_t.
Merge pull request #2364 from dumganhar/iss2051-builder-crash-64bit

fixed #2051: TestCpp/ExtensionsTest/CocosbuilderTest crashes under x86_64 target.
fixed #1862: CCScrollView::setContainer may cause dangling pointer when NULL is passed into.
Merge pull request #2367 from dumganhar/iss1862-setContainer

fixed #1862: CCScrollView::setContainer may cause dangling pointer when NULL is passed into.
fixed #2040: Getting scale property from sub-ccb node may trigger an assert of 'CCAssert( m_fScaleX == m_fScaleY, "CCNode#scale. ScaleX != ScaleY. Don't know which one to return");'.