Add a method to a repo so you can perform git hooks
Fire a post-commit hook when we have made a new commit
Return false in Repo.hook if the hook didn't return 0
Support the pre-commit hook
Make Repo.hook return the process instead of weather it succeeded
Repo.commit should return the sha1 of the commit
Merge remote-tracking branch 'kylef/hooks'

Added support for pre and post commit hooks.