Silence GitRepository.write_tree

but add any error output to the exception instead. All callers have been
audited to properly output the message if needed.
GitRepository.commit_dir: raise GitRepositoryError instead of GbpError

and make sure the callers forward the error properly
GitRepository.has_feature: capture stderr

to avoid spurious output on the console and add the error message to the
exception intead.