Added JNI method for tc_malloc_stats()
Fixed memory leak when parseSystemIdImpl tries to parse invalid doc
Prevent Node.dispose(). It would increase complexity.