Restructured RichTextItem hierarchy to allow for proper casting and
deferral to the parent class. Also added DocumentScanner helper class to
get token values in field contents.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>