Merge pull request #15 from buhuru/master

updated root directory detection
described how to skip commit hook, fixes #6
Allow to set project root optionally in package.json
detect current branch for prepush commits detection
Merge branch 'master' of github.com:bahmutov/pre-git