closed #2920: fix bug voice recognition input crash on ios7
issue #2920: fix coding style
issue #2920: fix indent
Fixed crashing when calling CCDirector's end().
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2920_voice_recognition_input_crash_on_ios7
issue #2920: Change internal ios  keyboard type EditBox::InputMode::NUMERIC from UIKeyboardTypeNumbersAndPunctuation to UIKeyboardTypeDecimalPad
issue #4039: set tilemap <object> x and y value to original, and add “position_x”, “position_y”, “size_width” and “size_height” value.
refactor tilemap xml format index count.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2920_voice_recognition_input_crash_on_ios7
closed #2920: fix compile error after merge.
closed #2920: add a variable to save shared director.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2920_voice_recognition_input_crash_on_ios7
LabelBMFont re-implemented as a wrapper of Label.
issue #3956:Change tolua_fix.c to tolua_fix.cpp and modify the toluafix_pushusertype_ccobject function to get real type of object
remove CC prefix.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developDynamic

Conflicts:
	cocos/scripting/lua/bindings/LuaBasicConversions.h
	cocos/scripting/lua/bindings/lua_cocos2dx_physics_manual.cpp
issue #3956:Replace Object with Ref
issue #4106: Ref class's constructor should be protected.
closed #4106: Object which isn't in Vector would also be released when invoking Vector::eraseObject.
Also refactored 'Vector::eraseObject':
1) Removed 'toRelease' parameter, Vector class should manage reference count.
2) Added 'removeAll' parameter to decide wether to remove all elements with the same value or just the first occurrence .
3) Added relevant UnitTest for 'Vector::eraseObject'.
issue #4106: Updates comments for 'Vector::eraseObject'