use GitHub API to download archive in install_github

Fixes #466.
Shouldn't need to set user agent with modern httr - rather than setting, I'd rather bump the httr dependency.