Fixed "Current Path" display in Repo Browser

Also moved some of the logic which should be in the controller out of the view for displaying the Current Path.

The expand_path() function from SVN has been translated over to Git as well successfully.
Prefer single-quoted strings when you don't need string interpolation or special symbols.