added whitelist of allowable URI schemes

Also added .gitignore so editor crap wouldn't make it into the repo.