ffi: Adds fundamental FFI support for the `lib-client`
Description
- This MR introduces ffi on the rust side.
- Adds utility functions which are needed at most of the places while converting to and from Java / Rust Objects
- Also adds ffi support functions to invoke functions from
ratman/lib-client/src/lib.rs