Added support for virtualenv

Now used in travis config