Set env-var with virtualenv path, add path expansion for unix systems.

Here we set the global env-var with the path of the selected venv so
that other plugins can be aware of the status of our venv.

Also, I added expansion support for the unix "double dot" parent
directory for my very non-standard location for my virtualenvs.