Add channel event support and new registration API.
Add channel event support and new registration API.

digitalbazaar/credentials-polyfill,Spec-Ops/credentials-polyfill,digitalbazaar/credentials-polyfill,Spec-Ops/credentials-polyfill