Merge pull request #95 from linshun/master

Rename cc.TEXTURE_2D_PIXEL_FORMAT_xxx to cc.TEXTURE_PIXEL… … …FORMAT_xxx
Save default format, recover it when exit the scene.
Using "getDefaultPixelFormat" instead of "defaultPixelFormat"
fixed #1655 update configurations and build.xml file