Add the ability to generate archive from a commit or tag
This commit adds a new UI endpoint that is able to generate an archive
for a specified commit or tag in a repository.
Fixes https://pagure.io/pagure/issue/861
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>