[CEXP-271] EventHandlerValidator: Validating event handler function name to avoid XSS

Possible resolution for #23