Move QueryToolController to another package
Test for QueryToolController

Right now, only the runQueryFromDefinition method is tested.