Accept HTTPS URLs, and use HTTPS by default when downloading

I browse with HTTPS enabled by default, so I find it's useful to be able to accept those URLs as well. Downloading using HTTPS by default mostly because it's available, and I think it's usually better to use encryption where you can.

Also added a simple gitignore, to stop those pesky .pyc files from getting picked up by git.