Virtualenv2

This pull request adds support for virtualenvs by making the set/get functions find and use the virtualenv conf directory when run from a virtualenv.