Import integration libraries first
# What does this PR do?

This PR restores the order of importing 3rd-party integrations before other ML frameworks, and before any other transformer modules.

## Before PR:

* importing comet_ml later causes an error

## After PR:

* using comet_ml functionality is restored