Changed: small refactoring of the default ViewController for easier reuse

By using the Template Method Pattern, extending the default
ViewController gets easier.
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
Fixed: missing column in
Fixed: Missing sequence reset for tests
Improved: getLinksUrl() method by using a Set

This will further help solving EZP-20762
Fixed EZP-20762: SQL syntax errors in Legacy Gateway of XmlTextStorage with PostgreSQL
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