refactored publish_event() and publish_event_obj() of UNS
removing some legacy stuff in ion defs which is not going to be implemented
Merge pull request #273 from swarbhanu/publish_event_obj

Refactors publish_event() and publish_event_object() of UNS