Added traitsui hook (only for Qt4 backend)

Added capability to hook traitsui's Qt4 backend. This was done for the
purpose of making sure any top level dialogs are set as toolwindows as
children of our QMainWindow. This makes them always on top of our figure
windows, and keeps them from appearing as a separate task.