Fix a typo and push the message in a data object

Reported by:	jilles
Add errno to the struct pkg_event.e_errno so errno is not accidentally overwritten somewhere in the middle.
Add error message in json for ERRNO events, add the errno number to the data object

Suggested by:	jilles
Add errno to the plugin errno, directly uses the errno from the event in the frontend