Query widget

Not quite ready for merge yet. Need to make a few more changes
This is going to fight with the vistrails gui