Popups doesnt need to depend on EventLogging

Authored by Konfused-Kitten on Thu, Mar 16, 9:03 PM.

Description

Popups doesnt need to depend on EventLogging

When EventLogging is unavailable schema do not create a schema,
do not register a change listener.

This means when EventLogging is enabled an additional request is
made to load the popups code, but this will not impact the first
paint or the time to have working Popups code. If for whatever
reason the code does not load the enhancement is still functional

If EventLogging is disabled, the mw.loader.using will return a
promise that fails and nothing will happen.

Bug: T158999
Change-Id: I7ed7f00d52279151ece23e5aced4f2adb0f7fdc3