fixed #2852: modify testcase's codes to fix multiple resource adapting.
fixed #2852: Modifying testcase's codes to fix multiple resource adapting.
Closed #2981: Refactor cc.EGLView for multiple resolution
Fixed #2981: clear up the test codes
Fixed #2981: clear up the temporary codes
Merge pull request #228 from dingpinglv/Iss2981_RefactorEGLView

Closed #2981: Refactor cc.EGLView for multiple resolution