[DF-1534] Refactoring of material model. Fixed memory leak in texture cache.
Merge branch 'framework_0_5_5' of https://github.com/dava/dava.framework into framework_0_5_5