Add JNI interface to demolib

C-implemenation is in file src/DemoLib.c which is handwritten. The
interface file DemoLib.h is generated using javac and javah (rules in
makerules.mk and regeneration via "make jni")

todo: Create java test using System.loadLibrary("demolib")