Ignore .tern-port (used for JavaScript auto-completion)
Only strip balanced quotes

Otherwise, auto-completion for paths (which occurs when we ask for
auto-completion within quotes) won't work.

Similarly, the string normalizer is no longer generic enough to live
within StringUtil.