Added a new JNI extension that provides a malicious to extension protocol

- this pull request also adds a k-probe resistant matrix builder protocol that uses NTL
I prefer using cerr over cout for logging outputs. This will allow using SCAPI programs in a batch mode much easier.