Various fixes for the last 4 commits
Shorter NULL/zero conditions Switch to libsodium random number generator Fix of linkedlist_apply_if for no/false predicates Fix use-after-free in linkedlist_move Fix edge case memleak in create_p2p_hello Typos, comments, a little bit of cleaning, etc.