Uses git function to find .git directory.
This should be less error prone than our current code
Remove PEAR_WORKING_DIR from path to create hook & txt files
Remove double quotes around path after the variable
Merge pull request #10 from salarkhan/git-dir-location

Clutch