Build monero-java and monero-cpp to static libraries with shared library wrapper [4 XMR]
This issue requests building [monero-java](https://github.com/woodser/monero-java) and [monero-cpp](https://github.com/woodser/monero-cpp) to static libraries so all dependencies are self-contained, with a shared library wrapper to access libmonero-java in JNI.

For example: libmonero-cpp.a, libmonero-java.a, and libmonero-java.so.

This will help us switch from using monero-wallet-rpc to native wallet bindings for better performance, and without depending on MSYS2 in Windows.

This issue shares the same bounty as the related issue in monero-java: https://github.com/woodser/monero-java/issues/74