Moves testing utility into the testing module.
Adds publication persistence functions. No tests.
Functional test against an EPUB containing documents.