Merge branch 'hotfix/#6427-zend-session-container-getarraycopy-fatal-fix'

Close #6427
Change method to set count fixes #6430.
Update CollectionTest.php
Update CollectionTest.php
Merge branch 'hotfix/#6443-fix-#6430-form-collection-element-count-fix' into develop

Forward port #6443
Forward port #6430