Bug 1055402 - Remove RegExp.test cache, add a more robust match only mode to irregexp, r=jandem.