Delay initialization

This change avoids initializing when the plugin is disabled.

This is specially beneficial when running tests with migrations disabled.
Hundreds of initialization checks are avoided, along with the debug
notices that accompany them.

There is no effect when the plugin is enabled.