Fixes bug with virtualenv pre-activation

Travis uses its own virtualenv install, and has the activate script
located differently than us, and activates it before running manage.py.
This causes the check for our activate script to fail.

Fixes this problem by catching IOErrors, and not raising if the
VIRTUAL_ENV environmental variable has been defined, which would
indicate that the virtualenv has already been activated.