Added RstEncoder, plus fixed a couple of other random doc typos.
Use base64 encoding for bytes fields, use UTC for timestamp, add
tests.
Small tweaks to output, and hard-code the test UUID.
Merge pull request #1005 from mozilla-services/rst_output

Added RstEncoder, plus fixed a couple of other random doc typos.