Feature/improve shared file handling
This PR solve the handling of shared, external image Before this PR the shared images stored and processed multiple times.
This become a problem when you have large number of files (ex. 40 000+) and this has been share between 5-10 accounts. The processing time of these files could take a long time (like 6-8 months if there is no GPU acceleration).
For this I needed to change the Database Scheme. The new schema can be found in ERD-Schema.png
I have extended the Unit tests and made the Integration tests Updated to be able to run with the latest NC update (NC31)
With indepth testing with NC32 I've found multiple bugs Which I need to resolve first
I have made it stable in NC31 andalsoin NC32 now this should be ready for review