fix #4858
add specs for escaping auto_completion
no need for params[:format] = :json in the autocomplete view spec
Merge pull request #950 from opf/fix/autocomplete_escapeing_4858

escape work package data for auto-completion #4858