Fixed jQuery.isPlainObject
Added beforeSend setting

Also changed response handling to more closely reflect the jQuery ajax
response handling (supporting multiple converters, etc.).