Bug patient search failed if there were leading or trailing spaces in search term

https://www.pivotaltracker.com/story/show/70782258
Merge pull request #176 from pfschwartz/develop

Bug patient search failed if there were leading or trailing spaces in se...