Abstrace out apt-ftparchive use

We want to be able to mock out the actual archive
run.
Outline for upload session storage and mocking
Add interface for hook support

This should make it easier to mock out the running of hooks.