correctly validate name,filter in query

fixes #3404

validate the presence of name, filters using the rails3 way.
was: validate_presence_of :name
now: validate :name, presence: true
mark name field as required in query-view
add spec for filter-name validation
now that the Query#name validation works, we have to provide names for generated queries...
Update planning_elements_controller.rb
Update copy.rb
Merge pull request #954 from opf/fix/validate_presence_of_name_in_query_3404

Fix/validate presence of name in query 3404