Add some timing and more toxNew tests.
Make native methods static; fix doInterval's declaration.
Simplify acquisition and release of java memory resources.
Correct check of return value.

From docs:
"returns 1 if the address could be converted into an IP address"
"returns 0 otherwise"

=> 0 is the "everything went ok" value.
Add bootstrap test.

This doesn't test much, yet.
const T -> T const
Moved SBRM classes to utility header.

To reduce cognitive load when editing JTox.cpp.
Optimisation and correctness.

Previously:
- The events were copied *twice* for every native call.
- The events were never actually going to be read, since mutation was done on a copy.

Now:
- The events are never copied.
- Mutation is done on the actual heap-allocated events object.

Also: Added using declaration so we don't need to type as much.
validatePort can be static.
Implement Tox4j.getAddress.
Add more tests. Some of these are unreliable.
Minor cleanups of C++ code.
Add some comments, and a TODO (warning).
Add a test for the condition described in JTox.cpp's TODO.
Check assumption that our unique_ptrs have no extra members.
Don't forget to unlock instance_mutex in the error path.
Catch InterruptedException from sleep.
Destroy all leftover tox instances after each test.
Make sure we don't operate on destroyed tox instances.
Test that operations on destroyed instances throw ToxKilledException.