Test plain text visitor, improve formattedtext design.

Trying to make construction of formatted text more friendly.
WiP on HTML visitor.