Fix collection error messages

by retrieving them directly after validation for each collection item
Fixing php coding style errors
#5465 used php coding standards fixer to correct file
Merge pull request #5499
Merge pull request #5499 in develop
Merge pull request #5499 in master
Merge pull request #5840 from ezimuel/fix/cookies

Removed Zend\Http\Client\Cookies

Conflicts:
	library/Zend/Http/Client/Cookies.php
[#5840] Made a note in the README
Merge branch 'hotfix/5840' into develop

Close #5840
Merge branch 'develop' of github.com:zendframework/zf2 into fieldset-allowed-object-class
Now, identifier can also be array
Updated Tests of identifier array
Fixes #4943
Fixes a typo in the comment
fix namespace and add test for getCountForStatement
Removed trailing spaces
Fixed alignment
Update In.php
CS fixes
added tests for getCountForStatement, getCountForSql, getRowCountClosure