Replacing references to master branch

Some time ago I removed the master branch from this repo. This commit replaces all references to the master branch with new links that point to gh-pages.