Connection creation added to createStatement method for Pgsql.php.
Update tests/ZendTest/Db/Adapter/AdapterTest.php

Added unit tests for parametersOrQueryMode param of Zend\Db\Adatper\Adapter::Query
Testing input array and input ParameterContainer.
Update tests/ZendTest/Db/Adapter/AdapterTest.php

Added missing import of Zend\Db\Adapter\ParameterContainer.
Update library/Zend/Db/Adapter/Adapter.php

Allow $parametersOrQueryMode to be a ParameterContainer object.
Merge branch 'releases/2.1.0' into develop

Prepping 2.1.0 release
Bump version

- reflect 2.2.0 dev status
Include ParameterContainer as an option for the 
second parameter of Query.

Fixed unit test
testQueryWhenPreparedWithParameterContainerProducesResult.
Merge branch 'hotfix/composer-alias' into develop

Conflicts:
	README.md
	library/Zend/Version/Version.php
Merge branch 'hotfix/3611' into develop

Forward port #3611
Merge branch 'hotfix/3616' into develop

Forward port #3616
Forward port #3620
Forward port #3621
Making relative links in Markdown files
Fixed nasty bug
Added default variable to interface for metadata from toArray, fixed issue with SessionArrayStorage to repopulate when session starts fixing request access time
Zend\Db\Sql\Select Fix for #3629
- Fixed Joins with table alias from repeating in next-non-aliased joins
Forward port #3644
Forward port #3630
When the SMTP destructs the socket gets closed automatically to free up resources which is good, hoewever when the SMTP Transport desctructs it also calls the disconnect on the SMTP Protocol which is in the middle of destruction and does not have a valid socket anymore. At that moment the sess is still set to true resulting in an Exception on destruction. Implementint / overriding the _disconnect from the SMTP protocol makes sure quit gets issued as well. Quit in itself already checks if the session is still there and makes sure the session gets set to false after quitting.
Resolved coding standard issue