<ticket>#502</ticket>
<ticket>#502</ticket>

--
The problem was that the Query View's controller was in an inconsistent
state after the vistrail was saved. Now we are connecting stateChanged
signal from original controller to Query View's Vistrail controller so
it can be updated when the vistrail is saved.

gui/query_view.py
   QQueryView.set_controller()
       Connecting/disconnecting stateChanged signal appropriately.

minesense/VisTrails,celiafish/VisTrails,celiafish/VisTrails,minesense/VisTrails,celiafish/VisTrails,hjanime/VisTrails,VisTrails/VisTrails,VisTrails/VisTrails,minesense/VisTrails,Nikea/VisTrails,Nikea/VisTrails,hjanime/VisTrails,hjanime/VisTrails,hjanime/VisTrails,minesense/VisTrails,VisTrails/VisTrails,Nikea/VisTrails,VisTrails/VisTrails,Nikea/VisTrails,hjanime/VisTrails,celiafish/VisTrails,minesense/VisTrails,VisTrails/VisTrails