RestApiViews that accept a RevisionResource may now also describe
buttons that should appear on a patch set. Description is given to
Gerrit by implementing the UiCommand interface and returning useful
information from the getter methods.
Change-Id: I2b9445e73448968f1e3234812cc28b57e9ec7250