store valence as an unsigned char
implement --enable-node-valence configure option.

Defaults to enabled due to the small overhead introduced by the feature.
conditionally store valence depending on --enable-node-valence
require --enable-node-valence for this example
fix compiler warning, ostream trickery has problems with NULL.