Add gitignore.
Fix hang in hooks/install
* Added -y to add-apt-repository so it runs without human intervention.