Register mediators

Closes #147 

@rcrichton if you could please review?
If there is an existing mediator wouldn't we need to update the channel config as well? This could break things is the default channel config has been edited. We could try just apply as update to the existing channel but this may not work 100%.