string.JavascriptSafe improvements

Less hassle on the GC, nicer method of replacing naughty chars
~remove debug code~
added string.PatternSafe
updated things to use string.PatternSafe

- All default search providers (fixes spawn menu searching with patterns
and causing errors)
- Anything else previously using a method of pattern escaping