Fix error handling based on new BH API response codes

The BugHerd API now returns 401 if the API Key is wrong and returns 429 if the
rate limit has been exceeded.
Add put()