automatically deploy git hooks upon clone

this permit to have a more productive default ( for example, checking
package.json format on commit for nodejs cartridge ) and allow
a team of developper to share a set of commit hooks by default, to
enforce compliance in a easier way.
add rspec test, but not working for now

Debugging seems to show this would be a issue in FakeFS
since it doesn't create the correct file for FileUtils.cp
httpclient is too lazy for auth, sending double the number of necessary requests
Get around FakeFS bug (defunkt/fakefs#177)

By stubbing the #cp call so that it will create the necessary
FS entry.
Extra debugging was breaking output
Merge pull request #321 from BanzaiMan/dev/feature/add_commit_script

Dev/feature/add commit script
Merge pull request #313 from smarterclayton/client_is_too_lazy

RHC sending unnecessary requests without auth