pre-commit git hook checks

Copied from @lmars [repo][1]

Added checking for debugger from another suggestion of @lmars 
So extended that for us by also checking for different debug statements.

[1]:https://github.com/lmars/dotfiles/blob/master/home/.git_template/hooks/pre-commit