Event api done without invitation management
Workaround added for citizen bug
Tests work with updated slither and citizen
Added test framework, and added missing functionality