SI-8107 Add Regex.quoted

Add `quoted` as an instance method of Regex.

Change `pattern` to a lazy val to defer compilation.

This makes the regex string the primary representation,
reverting a previous change that preferred the compiled
pattern.

This is complementary to https://github.com/scala/scala/pull/3317.