[DF-2984] Fixed several memory leaks
Merge branch 'feature-integration-new-materials' of https://github.com/dava/dava.framework into feature-integration-new-materials