mongoid: escape regular expression in search

Otherwise someone could attack the application with regular expression denial of service
Merge pull request #197 from Mic92/patch-1

mongoid: escape regular expression in search