Generate tests from documentation examples.

We generate them as files in the documentation-helpers
sbt sub-project, which can then be used to run them. Currently
the examples don’t compile yet, more to come on that front.