[FEATURE] New Doctrine data type "objectarray"
This type should be used for any array properties that might contain
objects. It has two advantages over the standard Doctrine array type:
- stores only type/identifier for persisted objects
- uses BLOB on the database level instead of CLOB
The latter makes it actually work with PostgreSQL (or other RDBMS that
do not allow NUL bytes in CLOB columns).