closed #3463: Potential hash collision by using typeid(T).hash_code() in JSB and LuaBinding.
Instead of using std::unordered_map<long, T>(long is the hash_code generated by typeid(T).hash_code()),
We needs to use std::unordered_map<std::string, T> to avoid collision since unordered_map internally processes collisions.
Merge pull request #4574 from dumganhar/hash_code-fix

closed #3463: Potential hash collision by using typeid(T).hash_code() in JSB and LuaBinding.