Adding set_event to usercycle client.

This method allows you to post any action you want, including for
instance subfunnel events.

Besides we remove some trailing spaces.