Added hexchat_emit_print_attrs() to plugin interface.
Added functions to create/destroy event_attrs to plugin interface.

Function names were chosen to keep consistency with the rest of the
API.