Change WPRequest.then to accept a failure callback

@jugglinmike suggested this method should expose the full signature
of Promise#then, and accept both success and failure callbacks.
Thanks for the feedback, the change has been made!