Escapes % in names.

If you searched for a name with a % pattern matcher in the name it would throw an error.
Merge pull request #41 from AdamChandler/patch-2

Escapes % in names.
Merge pull request #1 from RustOxide/master

pull upstream