Update packager and the package submission API.

* Packager is now a context manager that cleans up after itself
* Helper dicts to enable easier metadata building

* Remove batch helpers as that is best left to the app using the library.
  Update tests and doc to reflect how the packager will work. Add tests
  for the item/attachment dict building helpers.

* Add pytest as test runner.
* Update tests and doc for new API