[modulebase] Fix event dispatch ordering. JB#37688
[modulebase] Fix event dispatch ordering. JB#37688

While there is an assumption that plugins that are loaded first should get
to see dispatched events before plugins that are loaded later, what actually
happens is that for example dbusproxy plugin is the last one to see dbus
connection events.

Tune compare operator passed to g_slist_insert_sorted() so that in case of
equal priorities etc, new handlers are added after already registered ones.

Also, to ease debugging, log event dispatching to modules in verbose mode.

Signed-off-by: Simo Piiroinen <6d5e5360bed3d486f7d9fb26b0f737f7d4fd45ee@jollamobile.com>

spiiroin/dsme,spiiroin/dsme