Removed duplicate array keys
EZP-21154 : cleanup script
Update phpdoc on ezpEvent:filter to reflect actual implementation
EZP-21324: Tests

Added test scenario for content removal

testRemoveCopy also checks that the deleted attributes are no
longer referenced by any ezimagefile record

Added test case to removeCopy

Now tests that all alias files are effectively removed from ezimagefile.

Tests the case where the published version of an image
has more aliases than the archived versions: during copy(),
references to those aliases are created by eZImageType::postStore(),
but are copied to new references instead of being removed,
since the attribute is not the image owner.

These ezimagefile entries are orphan ones, and aren't removed
when the object is deleted.
EZP-21324: Fixed missing references to copied image attributes

- eZImageType::postStore() adds references from ezimage attributes
- An update script (update/common/5.3/restoreimageslinks.php will add missing
  relations for existing data

Also changed removeAlias code. Should now check correctly:
- only remove ezimagealias entries when they're not used anymore
  (handles duplicates if any)
- only removed files when not used anymore.

This means that we accept that when a copy of a content with an
image is made, we accept that archived versions in the copy will
reference the same file than archive versions in the copy source.

EZP-21324: changed removeAlias() prototype

Doesn't accept an eZContentObjectAttribute argument anymore.
The method is always invoked on the instance it must be modified.

EZP-21324: Fixed postgres error

fetchListByFilePath now uses asObject=false, since it doesn't
really make sense to return incomplete objects (due to the duplicates
inserted in ezimagefile)

Fixed removeAllAliases()

We just don't use it anymore. removeAliases() does the job.
The only difference is that removeAliases() will set the
attribute's XML to an empty value, while removeAllAliases()
won't, meaning that the change will create a light overhead
on the database.

EZP-21324: Prevented duplicates in ezimagefile

`eZImageType::postStore()` won't add duplicates to ezimagefile anymore.
Merge pull request #924 from ezsystems/fix/EZP-21324-copy_old_version_images

EZP-22402: Refactored aliases handling
Fix EZP-22579: Function call recursion on eZIni cache generation with PHP 5.5
Merge pull request #927 from ezsystems/php55_ini_cache_issue

EZP-22579: Function call recursion on eZIni cache generation with PHP 5.5
Fix EZP-22592: Setup wizard should check for php-xsl and php-intl
Fix debug output HTML validation when using HTML5 doctype
Merge pull request #928 from emodric/debug-output-html-validation

[EZP-22623] Fix debug output HTML validation when using HTML5 doctype
Merge pull request #929 from ezsystems/EZP-22592-setup_wizard_int_xsl

Fix EZP-22592: Setup wizard should check for php-xsl and php-intl
EZP-22592: Fixed typos in setup.ini
EZP-22563: added unit tests
Fix EZP-22563: Single line break is lost on headers
Fix EZP-22569: Removed Location still shows on frontend until http cache expires
Enabled asynchronous publishing from preview

If the feature is enabled in content.ini, Publish from the versionview page will go through async publishing as well.
Fixes EZP-22640.
Merge pull request #838 from ezsystems/update_ezpevent_doc

Update phpdoc on ezpEvent:filter to reflect actual implementation
Merge pull request #932 from ezsystems/EZP-22640-preview_publish_async

Enabled asynchronous publishing from preview
Merge pull request #930 from ezsystems/ezp-22563_line_break_headers

EZP-22563: Single line break is lost on headers