Move format into separate module

This PR extracts `sinon.format` into a separate module.

Testing the integration with `formatio` is still difficult with the way that sinon uses `require`. Once we get things ported to Browserify, this should be a lot easier.