Localstorage adapter now returns promises ; refactored tests
Added IndexedDB adapter