Add working install script

The install script is at a good stage. By simply accepting defaults, it all works quite nicely, and any possible major errors (relative paths, non-empty directories) are dealt with. Time to merge. Remember to change the `branch` variable in `install` to master.