Add the ability to share scripts between hooks.

* Add the ability to execute scripts in background.
* Share the script `ctags` in the hooks: `post-commit`, `post-merge`
  and `post-checkout`.