In the r1entry data structure, replace the dynamically allocated message 
buffer with a static hip_msg_bfr member. This simplifies the code and 
reduces the potential for memory leaks.
fix debug output for received packets

Previously, src was printed instead of dst.
Remove pointless debug print from hip_netdev_event().
Initialize the message buffer as the message builder depends on it.
Rename the 'bfr' field in 'struct hip_r1entry' to 'buf' as this name is
more common.
Fix incorrect documentation of return value of hip_create_r1()

Fixes https://code.launchpad.net/~stefan.goetz/hipl/msg-bfr/+merge/59993/comments/130604
Merge branch   https://code.launchpad.net/~stefan.goetz/hipl/lhi-storage
Merge proposal https://code.launchpad.net/~stefan.goetz/hipl/lhi-storage/+merge/59992
Merge branch   https://code.launchpad.net/~stefan.goetz/hipl/msg-bfr
Merge proposal https://code.launchpad.net/~stefan.goetz/hipl/msg-bfr/+merge/59993
Strengthen const correctness of hip_create_r1()
Strengthen const correctness of hip_precreate_r1()
Strengthen const correctness of public key functions
Remove reference to 'lib/core/list.h' by replacing 'list_for_each_safe()'
with 'hip_ht_doall()'.
Pass 'NULL' instead of locally created hash table to hip_recreate_r1s_for_entry_move()
because it does not use the passed parameter at all.
From hip_recreate_all_precreated_r1_packets(), remove the local hash table
because it is unused. The old code did not add entries to the hash table and
thus the iteration over the empty hash table had no effect.

Remove superfluous #include statements
Remove superfluous #include statement
Convert the addresses_to_send_echo_request container from a list to an array.
1) Removes one instance of lib/core/list.h on the way to removing lib/core/list.h
   altogether
2) Simplifies the container handling for which a list is unnecessarily complex in
   terms of code size and memory management
In hip_hadb_try_to_find_by_peer_hit(), replace list_for_each_safe() with
hip_for_each_hi() to remove an unnecessary dependency on lib/core/list.h and
to remove an unnecessary dependency on the HIDB.
remove unused user message HIP_MSG_NULL_OP
remove unused user message HIP_MSG_DEL_PEER_MAP_HIT_IP
remove unused user message HIP_MSG_PING