Remove QueryEntity code for now

This code need to be fixed to work with current DataModel.
Better to re-add it later, when we actuallly start needing it.