don't have to set _orderOfArrival to 0 after visit
Simplify BlendFunc operator< judgement
Modify BlendFunc operator< judgement
Adds setNormalizedPosition()

Changes in `visit()` were done in order to do it
in a robust and fast way.
Little fixes for setNormalized
Compiles on iOS
Add xxtea encrypt support for lua and update the console submodule
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_fix

Conflicts:
	tools/cocos2d-console
update console submodule
premultiplied alpha for PNG,TGA,WEBP,RAW_DATA
no need for handling RAW_DATA
we are only udpating PNG now.
Update setting for different platform
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_fix
add test case to break buggy code
bugfix related to AutoreleasePool's PoolManager

* duplicated AutoreleasePool added to PoolManager in
  PoolManager::getInstance()
* redundant pop_back() in PoolManager::~PoolManager()
remove unnecessary cache-variable
prefer std::vector to other containers
not treat warnings as error
Merge pull request #6961 from minggo/treat-warning-as-error

not treat warnings as error