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
Merge pull request #6943 from natural-law/v3

Update the reference of submodule cocos2d-console.
issue #5429: treat warning as eror on iOS
issue #5429: treat warning as error on Mac
change comment.
change comment.
Merge pull request #6939 from dabingnn/v3FixAndroid

V3 fix android
[Jenkins][ci skip] Fix proxy address in post-build.py
Merge pull request #6953 from lmskater/fix-post-build

[Jenkins][ci skip] Fix proxy address in post-build.py
Merge pull request #6944 from minggo/treat-warning-as-error

Treat warning as error on iOS and Mac