Tidy up; add .gitignore/.coveragerc.
Refactor/move some code.
Add deliverContent.
Add ProducerAmp.sendFile.
Refactor tests to use trial.
Factor out common test setup.
Errback the deliverContent deferred on failure.