Adds Base class to tests

Base class displays the Menu( <- O -> )
Improved in some tests the way to create entries.
Instead of defining the tests twice: the "create" method, and the entry
   in the array, it is only needed in the array (ActionsTest, SpriteTest
   and Texture2DTest)
Merge branch 'test_base_class' of https://github.com/ricardoquesada/cocos2d-x into ricardoquesada-test_base_class
Fixing compilation errors for win32.
Adding BaseTest in TestCpp for Android, emscripten, linux, nacl and marmalade.
Merge pull request #2804 from dumganhar/ricardoquesada-test_base_class

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