Fix API ret code changes of ToxCore
Merge pull request #57 from aitjcize/ret-code-inconsistency

Fix API ret code changes of ToxCore
Fix corresponding API name changes in toxcore.
Fix typo.
Merge pull request #58 from aitjcize/api-name

Fix corresponding API name changes in toxcore.
reduce syntactic complexity - these don't need to be void