Fix imports for yara.

The AnalysisConfig import isn't used but the class was also moved to
another file so it started throwing errors.

Also removed the global import in favor of specifically importing what
we need for the Connector.