Adds C++11 std::function<> support to MenuItem

Updates some of the tests
Merge branch 'menuitem_function_callback' of https://github.com/ricardoquesada/cocos2d-x into ricardoquesada-menuitem_function_callback
Using CC_DEPRECATED_ATTRIBUTE to mark functions as deprecated. Don't bind CCMenuItem::setCallback automatically.
[Linux] Don't treat the warning of deprecated-declarations as error.
Fixing a warning in Bug-458.cpp
Fixing compilation errors on Android.
Merge pull request #2773 from dumganhar/ricardoquesada-menuitem_function_callback

Merge PR https://github.com/cocos2d/cocos2d-x/pull/2756