Merge https://github.com/cocos2d/cocos2d-x/pull/2812

CPP Tests migrated to the new C++11 API …
Many tests were converted to the C++11 API
and some tests were also simplified by using the "CL" macro
instead of the "CF" macro