Fix another SVN unicode problem.

When there's a file-not-found error with unicode paths in SVN, we were trying
to format the encoded string into a unicode string to create the error message.
This caused a UnicodeDecodeError when it tried to coerce it using the 'ascii'
codec. I've changed the `FileNotFoundError.__init__` method to cope with paths
which are bytes as well as paths which are unicode.

Testing done: Ran unit tests.

Fixes bug 3425.

Reviewed at https://reviews.reviewboard.org/r/6326/
Merge branch 'release-2.0.x'
Don't crash the dashboard if a bug can't be linked.

In the case where the bugs field contains characters which aren't valid in the
URL, creating the link would fail with NoReverseMatch. In the case discovered,
a URL was entered in the field instead of a bug number.

This change fixes it so that if any URLs don't reverse, we just stick the text
in without a link.

Testing done:
- Set up a reproduction case. Before the change, my dashboard gives a
  traceback. After, I see my dashboard correctly.
- Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/6329/
Fix some Python 3.x issues that have slipped in.

Since I initially did our 3.x porting, a few things have slipped in (mostly
merges from the 1.7.x branch, which doesn't have the same requirements).

Testing done:
Ran 2to3 and saw that the only reported issues are expected (presence of
__future__ stuff, and code where we use six to update something but 2to3 can't
tell the difference).

Reviewed at https://reviews.reviewboard.org/r/6327/
Merge branch 'release-2.0.x'
Changed webapi unit tests to ignore CVS tests if the CVS binary is not installed.

Added a try/except catch to not bother with test_get_with_no_support if cvs is
not installed on the machine.

Testing Done:
All unit tests now run and pass (CVS tests are now ignored appropiately).

Reviewed at https://reviews.reviewboard.org/r/6337/
Fix a broken post-commit UI js-test.

At some point we changed an element's style in the post-commit UI without
updating a test that checked said style. Trivial change.
Issue 2766: Web api 'review-requests' not returning draft review requests

Added check for whether the user is admin in webapi/review_request.py. If so,
the _query function for ReviewRequestManager (reviews/managers.py) will query
for both public and NON public (draft) review requests, as opposed to just
querying for public ones.

Testing Done:
- Verified that admin accounts see draft reviews through
  /api/review-requests/?status=all, but normal accounts do not.
- This change only affects the webapi, and not any other module that might use
  the ReviewRequestManager. Verifiedthat the "All Review Requests" page is
  unaffected here.
- webapi and reviewboard module unit tests run and passed
- Added unit tests for private review request visibility in the reviewboard
  and the webapi unit tests

Bugs closed: 2766

Reviewed at https://reviews.reviewboard.org/r/6328/
Issue 3532: Linking to a collapsed review does not expand the review

Linking to a collapsed review does not expand the review. Fixed by parsing the
url and force the linked box to open.

Testing Done:
- Tested on local server, add /#review{review_id} to url will trigger the
  corresponding box to open.
- All unit tests passed.

Bugs closed: 3532

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