Yaocho APIs

This adds a few APIs that were useful for Yaocho. These need to get to prod before I can put Yaocho in the marketplace.

r?
So where does `self.kwargs` come from? What's in it? I'm wondering if it lets people arbitrarily filter the Documents they're looking at via URL "hacking".