use callbacks for a/v
make autotests compile
locks in test
Fixed overflow bug.
Merge branch 'split-video' of https://github.com/notsecure/toxcore