#27: Refactored document model types
Small code improvements
#27: Added a stub to set the document on a text element, but then commented it out.  Stuff to think about.
Merge branch 'feature-BaseWidgets' of https://github.com/Updownquark/MUIS.git into feature-BaseWidgets