Merge pull request #618 from joshuastray/master

issue #5685: refactor scale9sprite to support extend
Merge branch 'master' of https://github.com/cocos2d/cocos2d-js
issue #5695: update facebook testcase