Clean up controllers and add back missing before_filters (whoops).
Clean up issue queries helper and add custom transforms for the issues list.
Renamespace Query::StatementInvalid
Remove Query::StatementInvalid
Add sort_helper method to Query for SortHelper support.
Defer more custom filter stuff to IssueQuery.
Move custom filter handling in query lists into issues query helper.
Reinstate old views to port them more easily.
Clean up pdf export lib with new custom field apis.
Reinstate former query api in gantt helper.
Revert queries controller tests.
Parens around return.
Typo in pdf lib.
More backporting of the old api.
Revert query tests as far back as possible.
Update aaq
Add enabled modules fixtures to queries controller test.
Typo in issues query helper.
Reinstate is_for_all handling in Query (though not sure it's correct) and fix typo in sort_helper.
Update aaq