Added comment / TODO to accept nil pw digest in Rails 4
Escape and unescape text in search