Fix the crash of cocostudio ui lua test cases and add some deprecated functions of  Widget
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_lua_ui_fix
Merge pull request #7023 from samuele3hu/v3_lua_ui_fix

Fix the crash of cocostudio ui lua test cases and add some deprecated functions of Widget