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

Adds std::function<> support to `CCMenuItem`