Export helper functions

Motivations:

* I'd like access to these helper functions in my custom transport.
* I'd like to be able to use the Contract validation stuff outside of a Barrister Server context (for instance, for the response to a non JSON-RPC 2.0 request).