WIP: Fix EventContext linkage probem.
EventContext has two static data members, INVALID_CONTEXT_ID and INVALID_CONTEXT_EVT. These must be defined outside of the class declaration, even if they have initializers (see [class.static.data]). Otherwise, one can see link errors in debug builds.
Edited by Marco Clemencic