remove unused codes in CCTexture2D
Use the image format instead of RGBA8888 when initializing a texture, this would remove the redudant conversion and save memories.
add new tests for different pixel formats
Fix CCImage to be compatible with UNIX2003

Without this wrapper I get errors below.
Mac Os X 10.9.3 Xcode 6 beta(the same problem also exists in Xcode 5)
I found a solution at http://stackoverflow.com/questions/8732393/code-coverage-with-xcode-4-2-missing-files and added one more wrapping function.

Undefined symbols for architecture i386:
  "_fwrite$UNIX2003", referenced from:
      _unixErrorHandler in libcocos2dx iOS.a(tif_unix.o)
      _unixWarningHandler in libcocos2dx iOS.a(tif_unix.o)
      _empty_output_buffer in libcocos2dx iOS.a(jdatadst.o)
      _term_destination in libcocos2dx iOS.a(jdatadst.o)
      _Fax3PrintDir in libcocos2dx iOS.a(tif_fax3.o)
      _PredictorPrintDir in libcocos2dx iOS.a(tif_predict.o)
  "_strerror$UNIX2003", referenced from:
      _TIFFOpen in libcocos2dx iOS.a(tif_unix.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Update CCImage.cpp
remove the new images and use the old ones.
Merge pull request #6979 from visiblelight/TextureOptimize

Texture Optimize
[ci skip]
Update control.lua for lua-tests
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_fix
Merge pull request #6987 from samuele3hu/v3_fix

Update control.lua for lua-tests
Merge pull request #6986 from iSevenDays/patch-11

Fix CCImage to be compatible with UNIX2003
Update cocos2d-console submodule
add some comment
Merge pull request #6988 from minggo/add-comment

[ci skip]add some comment
Merge pull request #6989 from samuele3hu/v3_fix

Update cocos2d-console submodule
[ci skip]
[ci skip]