Added doc for the captions api.

This is pretty much the same shit I had in my plotting doc. Max suggested making the create/update methods work so they can accept either an attached file or the contents of the file as a string parameter. But if we're going to do that, should we instead just combine them into a single method?