java: intro services for JNI local reference frame

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
java: intro JavaObject::delete_local_ref

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>