Add return value check and hashbang
Add git hook install script
Fix hook installing
Add more verbosity to precommit hook