Installed mesos pre commit hook and .gitignore on bootstrap.

Review: https://reviews.apache.org/r/26794