Migrate usage of deprecated DefaultGroovyMethods.getText() to the correct impl depending on arg type
GRIFFON-598, GRIFFON-599, GRIFFON-600 Various fixes to MessageSource and ResourceResolver