What is the ruling on wiping the white area behind the ears instead of wiping the head?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. Wiping the white area behind the ears suffices for that. And Allah the almighty knows best.
What is the ruling on the ablution of one who washes his arms from the wrist to the elbows?
In the school of Imam al-Shafi'i (may Allah have mercy on him), washing the arms (hands) is achieved by washing the arms completely, from the fingertips to the elbows. Washing only the palms at the beginning is insufficient, as washing them at the beginning is a Sunnah, but after washing the face, it becomes obligatory (fard). The person performing ablution must wash his palms along with the arms after washing the face. If he does not wash his palms, his ablution is invalid and not correct. And Allah the Almighty knows best.
What is the ruling if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. And Allah the Almighty knows best.
What is the ruling on vomiting, and does it invalidate ablution?
Vomit is impure (najis). Its exit is not considered one of the nullifiers of ablution. However, the mouth must be washed and purified from it, and any that gets on clothing or the body must be washed for prayer, because prayer is not valid with impurity present on the body or clothing. And Allah the Almighty knows best.