Also redirect stderr in get_command_output.
vcs.hpp: Merge Git and Mercurial functions together (autodetect which).