Alternative way to import emc.plugins.registry

Alternative way to import emc.plugins.registry and fix the related pep8 issues.

Change-Id: Idd0e8cbb7ecdaf2e57017863b57f699710db7082
Merge "Alternative way to import emc.plugins.registry"