[DF-5228] Codestyle fixes, jlong type support, Attach and Detach threads from JNI, Thread::Kill works fine on android.