Fixing virtualenv problems. Removing unneccessary packages. Fixing PostGIS DB setup, to be only executed when DB == postgis.