Add localstorage to api

This consumes https://github.com/knadh/localStorageDB to implement a database query system on top of `localStorage`. Session data is now saved directly to `sessionStorage`
Agreed. future PR for sure (to eliminate 1 long file with all of our imports).