Refactor the part of the primitives class hierarchy dealing with shapes

Extracts a base "Text" class which derives into both "Information" and
"OnScreenText".