added some code from the excellent gitblit project to be able to properly view logs, history on a per repo, directory or file bases or view the contents of a specific version of a file etc