Support for getting file content and repo archive

Now gandalf supports retrieving file's contents in any ref it is (tag,
branch or commit).

Also added support for getting the archive (.tar, .tar.gz or .zip) for
any repository ref (tag, branch or commit).