Split off test_doctest.

- Need to reuse the base setup and the doctest harness elsewhere.
Well then, a new strategy is needed for live tests

- Have to make use of the newer/better plone.app.testing layers to setup
  our test data.
- Wrote the test for testing the full roundtrip for the code generation
  using spawned test ZServer.