Replaces escapeRegexp with the escape-string-regexp package.
Merge pull request #1344 from jbnicolai/add-escape-string-regexp

Replaces escapeRegexp with the escape-string-regexp package.
Resolve #1235

Adds the 'glob' dependency stand-in for the browser.