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
Automatic commit of package [rhc] release [1.5.9-1].
Bug 917728 - rhc with no args should invoke setup if the express.conf file does not exist
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
Merge pull request #322 from smarterclayton/bug_917728_rhc_should_invoke_setup_with_no_args

Bug 917728 - rhc with no args should invoke setup
Don't retry infinitely when in a loop
Bug 915255 - Correctly regenerate token when use_authorization_tokens is true

We should not use password auth until we've had a 401 from token auth or no token is provided or wanted.
Automatic commit of package [rhc] release [1.5.10-1].
Merge pull request #323 from smarterclayton/bug_915255_recreate_token

Merged by openshift-bot
Bug 917457

When a local port is already bound by another process, we see
Errno::EACCES. Rescue this and try the next port.
Merge pull request #324 from BanzaiMan/dev/hasari/bz917457

Bug 917457
Bug 917605

Tweak port forwarding output header to clarify the intention
Add rhc app show --gears to display info about the gears
Wrap it up in paragraph
Merge pull request #325 from BanzaiMan/dev/hasari/bz917605

Merged by openshift-bot