added githooks
add installgithooks management command
githooks/pre-commit: fix current app detection, improve debug output
githooks/pre-commit: improve console output
githooks/pre-commit: fix subtle bug in current app detection