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 don't fully understand context, but when I didn't include the context, the string didn't translate. I think that when gettext looks something up both the msgid and the context have to match. Maybe there was other conflating things that made it not work.