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`
Probably, though I figured I'd leave it up to whatever was making use of session storage. We can probably implement it on an as-needed basis.