Add support for older pip/virtualenv versions, including facter facts for versions

A couple of simple changes to improve compatibility with older versions of pip/virtualenv/python.