fixes tarunc/intercom.io#4
add createEvent method

fixes tarunc/intercom.io#5