Add a node creation function to {d,}mesh_network

The general idea is that other tools will probably want to subclass
"libocn::node" with their own node class that has some more
information that can later be used for some actual computation.

I think this mechanism is cleaner than using templates everywhere,
which got messy very quickly inside of libflo.