Orm\Query fixed connection issue.

min, max and count methods was using only default connection.

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Merge pull request #308 from feldsam/1.7/develop

Orm\Query fixed connection issue.