Spec'd out store.

Here's a possible interface for a wrapper around the database. All of the functions return promises so they don't have to take a callback (read more here: https://github.com/cujojs/when). If we like this interface, then we can create a mock version to test with and then also work on hooking it up to a DB.