Placeholder dir for patient images
Added idb.filesystem.js polyfill

For saving local files in browsers other than chrome.
Finished logic to sync offline files