Fixed escape breakline

the way it was printing:
    //<!--
    Some script in here...    //-->

and now:
    //<!--
    Some script in here...
    //-->
Fixed breakline to script with content

it was printing:
    <script type="text/javascrit">
        some content...</script>

now it is printing:
    <script type="text/javascrit">
        some content...
    </script>

this does not affect when there is no content, it still prints:
    <script type="text/javascrit"></script>
Removed unnecessary space
Merge branch 'hotfix/3575'

Close #3575
Merge branch 'master' of git://github.com/wryck7/zf2 into hotfix/3579
Merge branch 'hotfix/3579' into develop

Forward port #3579