Rate limiting fixed to work as described in the hipchat's API v2 docs. Rate limiting tests using requests_mock. setup.py test command.