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?
I found the "elsewhere". I fixed it, which changed the behavior, so I had to nix a bunch of test, but that's fine.