Stricter munging of special query terms

As noted by @rwstauner:

```
14:26 <@rwstauner> as a side effect, you can't search for "module::metadata" (though you can
                   search for "Module::Metadata")
14:27 <@trs> rwstauner: that can be fixed with a regex change. nice catch!
```