Testing signed commit
Revert "Testing signed commit"

This reverts commit 6589d22185e09fd4421ffdad5a5fdd7ff847158d.
Fix possible deadlocks detected by Findbugs
New code style guidelines

Reformat all code according to new guidelines and add c.astylerc and
java.astylerc for formatting.
Refactoring
Add support for typing change callbacks
Fix null terminator bug.

Signed-off-by: Sean Qureshi <sean@tox.im>
File sending wrapped, it compiles but I don't know if it works.
Added enum for file control rather than just an int
Figured out what the jtox handlers were for and that I don't need them for the filesending functions so removed em
Ran astyle and updated copyright year
Merge branch 'ollieh-master'
Add new Files to CMakeLists.txt
Changed longs to doubles because thats the way the JNI wants it
undid last commit
Fix retarded typo with ls instead of 1s
Merge branch 'pull-33'
Missed out an arg, woops
Misnamed arg
Merge branch 'pull-34'