Update project to cocos2d-x 3.1
again for cocos2dx 3.1