factor out VCSRepo._command into function

Use this instead of depending on subprocess.check_output() in anyvcs/svn.py