Initial version.
Fixed two bugs involving permissions and content of the post-receive e-mail hook.
Merge into master.