api: Application: move processApplicationEvent to CommonAPI