Main menu from test is sorted alphabetically

Code was refactored. Now it is super easy to add a new test.
No need to add it in 3 different places
Merge branch 'develop' into testmenu_sorted
adds mising tests + cosmetic changes
Updating multi-platform-xxx template for iOS and Mac.
Updating multi-platform-xxx template for iOS and Android after enabling c++ 11.
Merge pull request #2752 from dumganhar/template-fix-develop

Updating multi-platform-xxx template for iOS and Mac. [develop]
Merge branch 'develop' into testmenu_sorted
It was using an clang extension for tuples<>

Instead of converting it to pairs<>, which is compatible with gcc,
I converted it to C structs.
Merge pull request #2744 from ricardoquesada/testmenu_sorted

Testmenu sorted
cc_timeval works on 64bit machines, like OS X
compiles on linux and other machines without C99 support
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
Adds setObject to CCConfiguration

also adds the test

Conflicts:
	scripting/javascript/bindings/generated
Minor fix in CCConfiguration.
Merge pull request #2758 from dumganhar/ricardoquesada-configuration_set_value-develop

Merge PR #2728 and minor fix.[develop]