Feature/hook

execute rights are automatically set for the hooks with the grunt install:hooks command.

- [x] finish the code
- [ ] gather feedback for my changes


| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  |yes
| Tests pass?   | none
| Fixed tickets | none
| Doc           | none

finished but should not be merged!