Switch storage store interface to return a promise when it's done, prepare for async IndexedDB. #50
Store reference images into IndexedDB. #50
Fix another test. #50