Allow to pass haxe string as java Object to JNI

This fix allows pass haxe strings to java.utils.Map for example.
Look this thread - https://groups.google.com/forum/#!topic/haxelang/wHkAP5AdRbo