Expose configuration settings to set api version

This PR exposes a way for users to pick the Airbrake API version to use to submit errors. The default is maintained to the old 2.4 XML-based api. This default will change to use v3 in a near future.