HipChat plugin: Support custom server URL and API version

This adds support for configuring a custom HipChat API server URL, and the ability to configure which HipChat API version to use.

This is needed to support the self-hosted version of HipChat (https://www.hipchat.com/server), where the HipChat service might run on https://hipchat.example.com for example.