Switch to virtualenvs for upcoming PBRization.

There are pending changes to make git-review use PBR for
installation, so we can no longer easily perform in-place testing
and instead need to install into a virtualenv first.