hostname-modify event: set new hostname and signal certificate-update event. Refs #1878
hostname-modify event: fixed event name. Refs #1878