WIP. Code cleanup.  Doc cleanup.  Deleted unneeded test in pages/views.py. Fix bug in Panel.  Heading and Footer are now guananteed to be DWidget objects. Reimplemented Modal and it's supporting classes.  Improved widget logging.