Preparing for image cloud sync. Added FileData object.
Moved all indexeddb config into dbconfig const, improved versioning.