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
Merge pull request #6919 from dabingnn/v3.1hotfix

V3.1hotfix
[cocoplay] Adds resources for new AssetsManager,  get codes from lua-vm branch
[cocoplay] Updates project files.
[cocoplay] Updates cocos2dx_files.json
Feature #4977: add fclose for zip next file fail error
Feature #4977: Add fopen fclose logs

Conflicts:
	extensions/assets-manager/Downloader.cpp
Feature #4977: Improve AssetsManager test case

Conflicts:
	tests/cpp-tests/Classes/ExtensionsTest/AssetsManagerTest/AssetsManagerTest.cpp
Feature #4977: Improve decompress : create directory only when needed
Feature #4977: Ignore file level progression
Feature #4977: Take account of FOPEN_MAX

Conflicts:
	extensions/assets-manager/Downloader.cpp
Feature #4977: Add AssetsManager::downloadFailedAssets API

Conflicts:
	tests/cpp-tests/Classes/ExtensionsTest/AssetsManagerTest/AssetsManagerTest.cpp
[cocoplay] Updates lua auto bindings.
[cocoplay] Removes unused log output.
[cocoplay] Fixed sync error
Feature #4977: Add AssetsManagerTest to test case's CMakeList