Bug 964342: Send language setting to basket.

* Add error codes to basket client.
* Use error code for invalid email instead of looking for a message.
* Add timeout handling for call to basket.
Merge pull request #16253 from pmclanahan/send-language-to-basket-964342

Bug 964342: Send language setting to basket.