Manually merged my earlier commits with upstream
Fixed flash killing beep
Fixed it not compiling
Add read receipts using packet ID 65.
Check for correct error value in toxic.
Document functions, and fix bug.
Moved main.c to maaster
Merge branch 'read-receipt' of https://github.com/stal888/ProjectTox-Core into pull-requests

Conflicts:
	testing/toxic/chat.c
	testing/toxic/prompt.c
Manually merged prompt.c to upstream
Some cosmetic improvements.
Merge branch 'master' of https://github.com/stqism/ProjectTox-Core into pull-requests

Conflicts:
	testing/toxic/prompt.c
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core