Add API v2 support

This request allows us to use HipChat API v2 by adding an command-line and curl options.

Please give me feedback if you have. Thanks!