add file storage to IDB

remove Filestorage as the standard appears dead in its current form
refactor jQuery.done to jQuery.then

in anticipation of potentially switching as much as possible to real promises