git pre-commit hook added.
Make code-analysis more flexible and configurable.