Redirect to right path when only gist_id provided

When receiving request on `/:gist_id`, redirects the client to
`/:username/:gist_id`

Needed to implement `previously_existed/2` and `moved_permanently/2`
callbacks for this to work.