Implement revision parsing for Plastic.

This is pretty trivial, because plastic diffs only support passing in a single
revision identifier, which can be either a branch name or a changeset.

Testing done: Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/5153/