Introduce cache versions
Project configuration should be added to dependencies dynamicaly

If we don't do that way, then it will point to wrong .conf files when we switch profile
Cache database errors shouldn't be fatal
Make sure to close cache before submitting job to renderfarm
Fix issue: At some conditions frozen file was submitted for rendering more than once. Cleanup.