dont encode the q parameter when searching
Fixed search tests to work
Move to a variable and check existence of def.params[paramName]
Merge pull request #130 from boblauer/fix-search

Fix search