Load file portability code for big endian.

Warning: only loads, doesn't save.
Fix for memory leak. And add forgotten break
Fix uninitialized
Prevent lock
Don't send -1 bytes. There is such check everythere. But if we add it in side funciton the logic will change
Add a check (reported by Coverity)
Portability saving fixes for big endian systems.

Saves should now be portable from big endian to little endian systems
though I need someone to actually test it to be sure I didn't mess up.
Merge branch 'big_endian_save'
Merge branch 'master' of https://github.com/xor2003/toxcore

#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Merge branch 'toxav-uaf' of https://github.com/tux3/toxcore

#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Fixed possible threading issues.
Modify DHT.md to render correctly
Merge branch 'irdan-irdan/doc-fix'
Initial friend finding might work a bit better.
Merge branch 'master' of https://github.com/tux3/toxcore

#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Update README.md
Update TODO

qTox
Merge branch 'stqism-patch-5'
Merge branch 'patch-1' of https://github.com/lance0/ProjectTox-Core
Added actions to group chats.