Use in-memory database in test and dev environments.

Closes #14.
Merge pull request #26 from jcsims/amnesia-db

Use in-memory database in test and dev environments.