repo argument to install_github now also supports passing subdir, ref and pull

- helper function github_parse_path, stops if GitHub path is invalid
- update parameter documentation, roxygenize
Merge pull request #380 from krlmlr/376-install-github

enhance repo parameter to install_github