(Re-)Implement the --add-metadata option

This option—which adds an indication of the SVN source revision of
each commit to its log message—was supported in the KDE project, and
needed by Boost.