Revert "misc/git-hooks: remove post-receive"

This reverts commit 05ab2c4c09510451992e170ecbb4a3c44702b861.

I'm reopening #458 and putting it on hold. We won't be able to fix it
soon...
misc/git-hooks/pre-receive: removing cloning stuff
misc/git-hooks/post-receive: providing version to the cloneRepository handler
Revert "fabfile: remove post-receive via deploy_hooks"

This reverts commit cd58e56effb9ee3bf2c09758f16e498bf6b6e3aa.
misc/test-hooks: checkout old version, testing post-receive

Related to #458.