Updated links to master branch to point to the v3.1 branch
Changed breadcrumb and nav links to stay within v3.1
Merge pull request #5081 from LaurentGoderre/v3.1

Changes necessary for the new v3.1 branch