Feature - Implement Java API for Comparator and Slice. Allows use of
either byte[] or DirectByteBuffer for accessing underlying data.
Add locking to comparator jni callback methods which must be thread-safe
Fix to memory dealocation when creating a slice from a byte buffer
Fix code style problems identified by lint