Refactor diff uploading in API resources

Review Request #7016 — Created March 6, 2015 and submitted — Latest diff uploaded

Information

RBTools
master
e54b2fa...

Reviewers

The diff uploading portion of the DiffListResource and the
ValidateDiffResource has been refactored into a mixin that both
classes inherit from. The diff uploading logic of both classes was
identical and this patch reduces the amount of repeated code.

Ran unit tests.

Uploaded this review request.