Git pre-commit hook to enforce good commit message

Borrowed and modified from:
http://addamhardy.com/blog/2013/06/05/good-commit-messages-and-enforcing-them-with-git-hooks/