Fix a bug that downloading https:// urls (behind a proxy) was not possible

Replaced the urllib method of downloading files by code that uses urllib2. It seems that urllib is not able to download files from https urls.
See here https://github.com/qiime/qiime-deploy/issues/57