Fix Zend\Db\Adapter\Adapter::Query to allow ParameterContainer parameter

Added unit tests for parametersOrQueryMode param of `Zend\Db\Adapter\Adapter::Query`
Testing input array and input ParameterContainer.

I have added the check in `Zend\Db\Adapter\Adapter::Query` for the ParamterContainer object.
I also fixed the unit test so it doesn't require `Zend\Db\Adapter\ParameterContainer.`