Fix interdiffs when comparing revisions with stripped-slash filenames.

The leading-slash stripping code strikes again. In this case, an initial
revision of a diff was uploaded prior to an upgrade, and a new version was
uploaded subsequent. The result is that the filenames don't match exactly
because one has leading slashes and the other doesn't.

This change normalizes the filenames to always compare them without leading
slashes when figuring out which files match up with which.

Testing done:
Created two diff revisions and changed the FileDiffs in the database so that
the first one had leading slashes and the second didn't. Before this change, I
see two entries in the interdiff for that file. After, it shows the correct
interdiff.

Tested all permutations of leading slash/no leading slash in interdiff
combinations.

Reviewed at https://reviews.reviewboard.org/r/6272/
Fix accepting certificates for perforce repositories.

When we fixed accepting certificates for subversion repositories that used a
username/password, we broke accepting certificates for perforce. The issue here
is that the perforce implementation of accept_certificate() didn't have
username and password parameters, and so passing them in caused it to
TypeError.

Testing done:
- Set up an SSL p4 server with a self-signed certificate and saw that I could
  once again add it to Review Board.
- Ran unit tests.

Fixes bug 3512.

Reviewed at https://reviews.reviewboard.org/r/6273/
Merge branch 'release-2.0.x'