Rest/Rpc dispatch interoperability

This changes makes it possible to use both dispatchers together by binding common interfaces to an annotation (`@RpcBinding` and `@RestBinding`).