Bug 1026269 - Encode search terms when constructing url. r=benfrancis