Added equals(), toString(), hashCode() support for the proxy of CustomEventInfo. Modified RapidTask. Now host events for query text will be removed after registering event handler.