[Translation] added method to expose collected message

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | #2435 
| License       | MIT
| Doc PR        | symfony/symfony-docs#3386
I don't really like the `exposeMessages()` name. What about just `getMessages()`?