Add Type class to Node.

A node has a type, which can include a display-hint. This is very
useful for displaying values that are not strictly strings or numbers.