Use documentation rspec formater

Extracted from #2892 by @kiela.

I cherry-picked this into a new pull request so I can see how Travis deals with it before merging upstream.