Adapts Rails3's changed route globbing behavior

In Rails3, globbed routes are strings and not arrays.
Adapts format handling
Adapts route specs to Rails3 route globbing
Adds changelog entry

[skip ci]
Adapts repository tests to changed route globbing
Strips trailing path separator
Adds missing repository diff route
Merge pull request #365 from opf/bug/rails3/viewing_changesets_results_in_page_not_found

[BUG] Viewing changesets results in page not found