fix lots compile warnings
remove unused params warnings
fix lua bindings warnings
add id return value to LuaObjectCBridge
rollback the scheme mode of projects
Merge pull request #5887 from andyque/fix_tests_warnings

Fix warnings in cpp-tests.