Renaming Pattern::getRegex() to Pattern::toRegex()

From the interface perspective this language makes more sense; the regex value is not obviously
a property. Additionally, the method /does/ do conversion, it's not simply an accessor (though
it happens to exhibit accessor like behaviour because of the caching of the result.)