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?
Ok. I'll update the new APIs to be versioned. I'll leave the existing APIs as they are, and file a bug for it.