Move query filter-related code to models/query because it existed first
Move filter types by fields concerning work packages to corresponding filter subclass