Add functions to install from SVN (subversion) repos

See #470

Adapting the code of 'install_git' to be able to install from subversion repositories. This should be equivalent to run e.g. svn co https://github.com/hadley/devtools from within R.