Package: add new compress_package instance method

This supports features such as downloading entire AIPs for
uncompressed AIPs.

Note that this currently only tarballs the file without performing
actual compression.
PackageResource: allow downloading uncompressed packages

refs #6589
Package.extract_file: determine basename using lsar

Fixes #6764.