completed js for viewing gists

- gist files are viewable now but is not editable yet
- some additions to css
- optional trailing slash for all routes