A quick rewrite of the jni_Logger, more testing is needed.
Fixed an issue causing a jvm crash on detaching the native thread.
Merge pull request #13 from kwhat/logging

Merging logging branch into the trunk.