Added Event & EventWriter classes, their unit test & test data

Also updated modularinput_testlib with an XML comparing function