Making it easy to write pre/post-commit hooks

Review Request #9236 — Created Sept. 29, 2017 and discarded — Latest diff uploaded

Information

RBTools
master

Reviewers

Applies the 0001-WIP-Repository-hooks-support.patch that Christian Hammond
created.

Adds the repo-hook command to make it easy to use pre and post commit hooks. The
supported repositories are Git, Mercurial and SVN.

Ran nosetests -v; all tests pass with patch applied.

Created unit tests for all functions.

Ran nosetests -v; all tests passed.