GROOVY-7183: Override ConfigObject toString() and add new prettyPrint() method

Override ConfigObject toString() to print it as map to have consistency behavior with println(config) method call
and add new prettyPrint() method