Core: fire server-side custom events (#290).

A plugin can fire server-side custom events.
{{{
dms.fire_event(MY_EVENT, ParamType1 param1, ParamType2 param2, ...)
}}}

Core Service API has new method:
{{{
void fireEvent(DeepaMehtaEvent event, Object... params);
}}}

See #290.