fixed type hinting of Mailer

The default mailer uses the ```RoutingInterface``` while the ``` TwigMailer``` uses the ```UrlGeneratorInterface```.
This PR makes them more uniform.