Support for download files as zip archive

Closes #802. Allow users to return files as compressed zip archives.

Right now we are in freezing time until next final release, so I think this pull request can be merged only before final release.