added git pre-commit hooks

and grunt command to install hook on `npm install`