Place repo details in the url.
Set the branch to '', that makes it use the default.

It also means the repo in the url does not by default contain /branch/master.
Merge branch 'master' into repo-in-url
Improvements suggested by @philschatz and @tmsp1
Merge branch 'master' into repo-in-url
URLEncode the id as a whole, not as a component.

This simple change means that a slash (/) is no longer encoded as %2F. This
makes the url much easier to read.
Remove accidental addition of underscore dependency
Repair the regex that detects the path for the copy plugin.
Merge pull request #32 from oerpub/repo-in-url

Place repo details in the url.