Add a git-for-each helper script

Runs a command on every commit between a refspec.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>