moves and fixes queries helper methods

They where duplicated in the experimental/queries_controller and belong
to queries anyway. Fix consisted of including project_id in the list of
loaded attributes.

As the queries helper is included int the experimental/queries_controller 
the functionality still works.