Additions to CMake script, now supports install and uninstall, the .so is now placed in lib/ instead of build/. Added JNI cache in C++ code.