Added escape_search for the common search_entity func
Added escape_search to repository search
Merge pull request #647 from kbidarkar/prd-tests

Added escape_search for the common search_entity func