scripts: added headerguards script, added pre-commit hook for removing trailing whitespaces, added a script that inits the repository (commit hook setup etc.)