Fix some harmless PyFlakes warnings.

A couple of these looked like errors to PyFlakes, but just because of
our control flow. I've made PyFlakes happy again.

Mostly, this is removing unused imports, and adding some default values.
Release Review Board 2.0 beta 3.
Merge branch 'release-2.0.x'