[travis] Run Travis build when .travis.yml changed

- Change match pattern to include ^\.travis.yml
- Add executable file permissions for tools/prepare-commit-msg
[ci skip]
Merge pull request #351 from afh/pull/git-hook

[travis] Run Travis build when .travis.yml changed