Adds performFunctionInCocos2dThread

... in Scheduler
Adds CCConsole.

it doesn't work... just the skeleton
Merge branch 'develop' into console
Adds readline
Merge branch 'develop' into console
Console is working!
issue #2771: move CC_USE_PHYSICS from project definition to ccConfig.h
issue #2790: Commit CCVector.h from Riq’s repo(https://github.com/ricardoquesada/cocos2d-x/blob/template_vector/cocos2dx/cocoa/CCVector.h).
issue #2790: Adds CCVector.h to Xcode project. int —> long
issue #2790: Vector<FiniteTimeAction*> for Sequence::create(arr) and Spawn::create(arr).
issue #2790: Node::_children is Vector<Node*> now.
issue #2790: Deletes Vector::init, adds Vector::setCapacity.
issue #2790: Vector::makeObjectsPerformCallback —> Vector::forEach
issue #2790: TestCpp with new Vector<>.
issue #2790: MenuItemToggle::setSubItems() uses Vector<MenuItem*> now.
issue #2790: Vector<T> replaces Array* finished.
issue #2790: Uses Vector<T>::getObjectAtIndex instead of Vector<T>[] operator to avoid some mistakes.
issue #2790: Adds CCMap.h.
issue #2790: [] -> getObjectAtIndex.
issue #2790: Adds CCValue.h/.cpp.