Fixed bug where model ajaxConfig.beforeSend could be ignored

Check for `xhrFields` on the `ajaxConfig` and override for `beforeSend` were overshadowing referencing beforeSend from the `ajaxConfig` on the params object and `beforeSend` was ignored if `xhrFields` was undefined.