streamlining operation

all persistent storage work will now be handled by the background page
this will be stored in indexeddb

new db.js to encapsulate and simplify indexeddb access

scan will now create new objects and send them to the background page