Add DOI and Repository models.
Add spec.
Add autotest.
Add factory_girl.
Make rspec start with a blank database each time.
Flesh out Repository model.
Add basic Doi model and spec.
Use VCR to record HTTP responses for testing.

Now I can avoid all that silly (and fragile) messing around trying to achieve the same thing with mocks and stubs.
Fetch OAI records from server.
Add a count to list_dois thor task.
Refactor Repository spec a bit.
Set up initial Sinatra app.
Improve DOI model validations.
Add an index page.
Set up thor tasks to harvest DOIs.
Add a route to resolve DOIs.
Loosen up DOI validation.
Add pg gem for heroku.
Switch table creation order in migration.
Change require to require_relative in models/repository.