Added support 9-slice grid, and rendering support cocos2d-x.

I added support 9-slice grid in **swf2lwf.rb**, but this only supports rendering cocos2dx.