Register mediators

Closes #147 

@rcrichton if you could please review?
Yeah I think so as well. Only admins should be able to add mediators.