add detachEnv
Merge branch 'master' of https://github.com/TalkingData/game-analytics-cocos2dx
android support multi-thread invoke.
must call TDGAJniHelper::setJavaVM(vm) in JNI_OnLoad