Fix posting changes with an empty commit ID.

Review Request #6219 — Created Aug. 12, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
8112e73...

Reviewers

Posting with an empty commit ID (a blank string) resulted in the blank
string being set for the review request or draft. This resulted in
conflicts, since a blank string is considered a valid value for unique
constraints. We now normalize it to None in this case.

Unit tests pass.