Fixed issue #2040
Merge branch 'develop' into RemoteCollectionManager
Direct memory allocation procedure was changed, safety check was added.
Fixed bug on replication during db deployment
Distributed: fixed synchronization problems
Distributed: created adaptive timeouts in case the cluster shape changes during a request
Distributed: removed resynch task and managed slowdown in request to avoid to cause timeout when a node is much slower
Distributed: better balance of timeouts
Distributed: fixed undo on create, where the record is deleted immediately to clean the index avoiding duplicates on second attempt
Distributed: fixed problem on remote db deployment
Fixed problem with export/backup when path doesn't exists
Merge branch 'develop' into Serializer-Injection