Fixed qt import problems in richtext.py.  pylint is happy, but the code has not been tested.

Leo build: 20140910082627