serialization: Added logmsg and nvtable serialization.

Added large number of tests for deserialization, especially for older
types of serialized log messages.
logmsg, serialize: Made tags deserialization faster.
test_log_message: add testcase to cover RCPTID serialization