Added user typing changes in core.
Fixed user typing bug where it'd alway return an error.
Typos.
Typing: Changed all return values to int for consistency and the -1 error.
Typing: Forgot the callback argument types.
Merge branch 'master' of https://github.com/Jman012/ProjectTox-Core into Jman012-master
Astyled and added tests.