Merge branch 'hotfix/3757'

Close #3757
Update tests/ZendTest/Paginator/Adapter/DbSelectTest.php

Update unitTests
Update library/Zend/Paginator/Adapter/DbSelect.php

Group by reset
Forward #3791
Merge branch 'ThaDafinser-patch-3' into develop