Small tweaks to virtualenv script

A few changes to fix things I encountered while trying to migrate my dev server to virtualenv:

* Remove dependency on distribute because it interacts badly with virtualenv (and doesn't make sense to install inside virtualenv anyway) and is deprecated
* Install virtualenv via pip to get a more recent version
* Make sure apt packages are up to date when running the virtualenv script
* set -e