Add field for disabling hooks per project

Issue #545

Signed-off-by: Michal Čihař <michal@cihar.com>