fix: remove $promise attributes from objects before we store them on localforage.
feat: new tests for getItem/setItem functions
fix: error on ipad (safari/chrome) where key could be null and throw an error