fix background/forground of Sprite3D on android platform
using lambda function instead of member function
remove foreground event listener when GLProgramState is deleted
add background/foreground listener for Effectsprite3d/Effect3d test case
add background/foreground listener for EffectSprite/Effect framework test case
closed #5392: add priority check for schedulePerFrame() and add a ScheduleUpdatePriority test.
Merge pull request #6919 from dabingnn/v3.1hotfix

V3.1hotfix
closed #5392: add comment for unscheduleUpdate() at schedulePerFrame()
Merge branch 'v3.1hotfix' into v3

Conflicts:
	tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp
	tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.h
only use _backToForeGroundListner when on Android
fix typo
issue #5429: treat warning as eror on iOS
issue #5429: treat warning as error on Mac
change comment.
change comment.
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