Use CMake as a build system

This adds support for creating the .jar file for jToxcore. The library building isn't
done yet, it will be added later.