Fix typos in BIF documentation

Fixed typos in documentation of hexstr_to_bytestring.
Also added documentation that was missing for function parameters
and return values of other BIFs.
Add documentation for event parameters

Added documentation that was missing for some event parameters, and
fixed documented name of event parameters.