Land and patch now properly report errors

Review Request #7568 — Created Aug. 4, 2015 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

The rbt patch command now always raises a CommandError when it
exits without correctly applying a patch.

The rbt land command now uses correct error checking when calling
into rbt patch to apply patches.

Previously, rbt patch would not report an error via its status code
in some cases and rbt land would then
assume it was successful.

Attempted to land a bad patch and had it fail correctly.