Allow specifying of branch name or SHA1 ref (defaults to master)

Adds a field allowing specification of a branch name or SHA1 ref to the index view.

Supports the following URLs:

* `/user/repo` (existing URL format, validates `.travis.yml` on `master` branch)
* `/user/repo/` (same as above)
* `/user/repo/ref` (validates `.travis.yml` on `ref` branch/commit)

**Edit**: Not quite sure why `follow_redirect` was giving an error after my changes (see [this test build](https://travis-ci.org/starsquare/travis-weblint/jobs/16118320)), as it didn't fail locally. Please enlighten me if it was a stupid mistake; in any case, the location check seems functionally equivalent.