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`
Do we need to do anymore parsing here? Numbers to numbers, etc.?