Fix EZP-21840: unwanted "shebang" line running ezpublish:legacy:script
Merge pull request #578 from joaoinacio/EZP-21840_shebang_in_legacy_script

Fix EZP-21840: unwanted "shebang" line running ezpublish:legacy:script
Added Helper and Pagination to phpunit.xml
Fix extra directory slash in phpunit-integration-legacy.xml
EZP-21949: Added coverage for AddFIeldTypePass
EZP-21949: Added coverage for ChainConfigResolverPass
EZP-21949: Added coverage for ChainRoutingPass
EZP-21949: Added coverage for IdentityDefinerPass
EZP-21949: Added coverage for LegacyStorageEnginePass
EZP-21949: Added coverage for LocalePass
EZP-21949: Added coverage for RegisterLimitationTypePass
EZP-21949: Added coverage for XmlTextConverterPass
EZP-21949: Added coverage for (Location|Bock|Content)ViewPass
Fixed CS
Fix EZP-21955: Access to restricted content results in error 500

This makes sure to throw a AccessDeniedException (and resulting HTTP 403: Access Denied)
if an UnauthorizedException is thrown in the repository service.
Merge pull request #618 from joaoinacio/EZP-21995_restricted_content_http500

Fix EZP-21955: Access to restricted content results in error 500
EZP-21949: Added coverage for EzPublishCoreExtension
EZP-21904: Add integration test
EZP-21949: Fixed ImageMagick related fails on Travis
Fix EZP-21438: Improve permission handling to use view_embed