Abstract container in NodeState

NodeState is not hard-coded to use a Vec any more. For generic programming we
may want to impose trait bounds on the container in the future.

Fixes #7.
Merge pull request #15 from aepsil0n/abstract_node_state

Abstract container in NodeState