Properly setup path so that raven etc is available to tests and that pydev is excluded if present.