BAP-12799: Upgrade of the 3rd party dependencies to the latest stable… (#18487)
BAP-12799: Upgrade of the 3rd party dependencies to the latest stable… (#18487)

* BAP-12799: Upgrade of the 3rd party dependencies to the latest stable version
 - updated doctrine
- updated compiler pass to replace factories in child services because default value was changed to entity_managers.[].repository_factory
- added comment update queries to exclude for all db drivers
- fixed mock after changing interface in doctrine
- fixed unit tests
- fixed issue with join appeared after doctrine update
- updated dev.lock for all applications after backmerge master
 - wrapped dql params in QueryBuilderUtil::checkParameter()
- updated queries after doctrine update
- updated tests after doctrine update with bugfixes
-  enabled schema test, updated comments to sync with database schema
- updated migrations to add missing comments to json fields
 - added db initialization to sh file
- removed dump statement
- added db initialization to js commands check because of https://github.com/doctrine/DoctrineBundle/issues/673

orocrm/platform-application,orocrm/platform-application