Merge branch 'hotfix/#6634-allow-crossorigin-headscript-attribute'

Close #6634
#7012 - removing incompatible PHP 5.4 syntax from test script
Merge pull request #7013 from Ocramius/hotfix/#7012-zend-view-php-5.4-syntax-removal

Hotfix/#7012 zend view php 5.4 syntax removal