Move run_hook() from builtin-commit.c into run-command.c (libgit)