Don't fall back to * content type & pass options to beforeSend

If you put a * content type at the end of the header, Rails uses that instead of the first one.

Options is useful to have in a beforeSend callback. This brings the functionality a bit closer to how it works with jQuery.