Fixed a bug where the Factory would create Item objects instead of
RichTextItem objects as needed.

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