Fixed links on activity page

 * Links for pages were broken (by 0548c1a7) because the ".page" wasn't being stripped from the URL
 * Links for binary files now link to the appropriate revision (and handleAny now checks the revision parameter)