Add endpoint for translation states.

Adds an endpoint under the document for fetching translation state
of each string in the document into the given language.