Get the connected dsn string that is now stored when the pdo connection is made

Issue:
https://github.com/zendframework/zf2/issues/5094

This stores the dsn that is generated when creating a pdo connection which can they be retrieved.

If connection has not yet been made it will attempt to connect first