do not chdir to workdir if remote and workdir is None or '.'
fixed a bug in myrepo.repo.Server.adjust_cmd and add wrapper method in myrepo.repo.Repo
implemented functions to make command strings for deploy, update and init (--no-genconf), and corresponding test cases