cleaned up flow query and flow query spec
appease hound
pluck instead of map
remove my papers from default flows
Merge remote-tracking branch 'origin/refactor_flow_query' into hstore-flow-query
more simple refactor without hstore, test cleanup
do not create query by default on factory
turn scope into ruby method, reads better
Merge pull request #718 from Tahi-project/flow-query-refactor

Flow query refactor