Initial work

Still need to make the getMostRecentPosts function actually work.  And
write more tests.
An index manager, wheee
More tests, all tests passing now

- Wrote tests for error handling
- Got all tests passing, and the API to a state that seems reasonable
to me at the moment
Merge branch 'sorted-by-date'