Merge branch 'cs/#7001-zend-test-psr2-compliance'

Close #7001
Changing encoding from View Helper are not passed to HtmlAttrHelper

Ideal where using ZF2 on non UTF-8 encoded projects.

Sample:
- http://pastebin.com/8uZHm5BM
- http://pastebin.com/pwjQdFe9
Adde Test Case
Merge branch 'hotfix/#7002-form-escape-encoding-passed-to-escapehtmlattr-helper' into develop

Close #7002
Forward port #7002