convert all _zm() to $translator->trans()

some _zm() have been removed where too difficult to manage
(and for soon to disappear code) or don't provide proper context.
move PDO setAttribute to PDO service

previously incorrectly added to the PDO session handler