Fixed wrong usage of quoteColumn() instead of quoteTable()

Note: without second parameter this boiled down to the same, so no bug was fixed with this change.
EZP-20728: change converting to NOP to real deletion

- rename removeByAction() to remove() and add second parameter
EZP-20728: fixed deletion not to remove active entries of moved locations
Fix wrong instanceof check in SectionLimitationType check
Fixed EZP-20767: PostgreSQL fails with binary 'and' operator's result used as a boolean value
Merge pull request #316 from patrickallaert/EZP-20762

Fixed EZP-20762: SQL syntax errors in Legacy Gateway of XmlTextStorage with PostgreSQL
Set default empty array value on API/../Limitation->limitationValues
Implement LimitationType validation

Reusing the validationError from FiledType
Todo:
- Move ValidationError it out of field type
- Find a better exception for validation error ala ContentFieldValidation

Warning: This commit breaks tests, some tests are using invalid values.
Fix Unit-/Integration-Tests for limitations validation

Includes:
- IntegrationTest: Wrong usage of module/function for state limitation
- UnitTest: Issues with order of policies from persistence
- UnitTest: RoleServiceTest invalid limitation use
- IntegrationTest: RoleServiceTest invalid limitation use
Fixed EZP-20768 - Searching with API using a Field criterion leads to a fatal error
Fixed EZP-20770: Using "like" operator in Field criterion throws an exception
Fix EZP-20659: Server error when applying watermark in image editor

Updated composer.lock after our PR has been merged into zetacomponents/image-conversion
EZP-20684: added clearing User SPI Content cache when updating user data
Fixed: removed unnecessary validation of User id, fixed wrong validation of maxLogin
Moved reloading User to the beginning of the method
EZP-20684: added clearing SPI Content cache after assigning Section and changing main Location
EZP-20684: added legacy bundle rest listener
EZP-20684: added default configuration for REST bundle
EZP-20684: introduce RestEvents class
EZP-20684: simplify legacy bundle RestListener to be triggered by custom event