Queue and retrieve Semantria documents

This allows one to add documents to Semantria's work queue and retrieve
them when they're done.  There's currently no error handling.  These are
both low level calls.  I'll clean them up and build higher level
predicates on top of them as I get experience with the API.