Refactor: move method to helper.
Refactor: extract error to new method with before_filter.
Refactor: Extract duplicated code to a new method.
Refactor: Split IssuesController#new to #new and #create to match REST pattern.
Refactor: Move the rest of the routing tests to RoutingTest.
Move more routing tests into the routing integration test.
Adding missing setter for Query#available_columns
Refactor: Move method to Query model
Fixes behaviour of move_issues permission for non member role (#5309).
Removes hard-coded size on user search fields (#5319).