Show browse file if we are browsing file history.
Check if blob is requested.
Differentiate between dirs, files and general code.
Move the links decision to helper.
Add tests to check for correct browse link name.
Active link based on controller rather than action.
Merge branch 'active_highlight' into 'master'

Active highlight

This will highlight active page regardless of the action we use.

See merge request !957
Merge branch 'browse_file' into 'master'

Browse file

Fixes #1335

See merge request !951