Merge pull request #10 from oroulet/master

improve addnodes and addreferences struct and serialization
in addnodes wiresharks want masks before value and as variant not datavalue. Comply
fix operator< in nodeid.
better string parsing in nodeid
start work on node_management testing