Add new tox core API header and stubs.
Rename tox_do to tox_iteration.

And tox_do_interval to tox_iteration_time.
Add some exception classes and enums for the new API.
Small correction for naming conventions.
Implement the C++ side of the original API wrapper.
Implement event dispatch on the java side.
Fix typo in API.
Implement the C++ side callbacks with protobufs.
Fix for message-passing style event handling.

Needed to decouple the event handler and the actual file data sending.
/api/ is actually /v2/
Add some cosmetic whitespace.
recv -> receive

We don't do abbreviations anywhere else, so don't do it here.
Port v1 tests to v2.
Removed old API, made all but one tests work with new API.
Implement more functions, add more tests.
More tests for name and status message
Add get/set user status
Split the big core.cpp file into separate files.
Make UTFChars and ByteArray more robust
Add friend list binding