Is it a condition for I‘tikaf to be performed in the mosque?
Yes, for I‘tikaf to be valid, it must be performed in a mosque. I‘tikaf is not valid if performed at home or elsewhere.
What is the ruling of Islamic Law on applying perfume before entering the state of ihram
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Applying some perfume (ṭīb) before entering the state of iḥrām does not affect the validity of the Ihram, even if its trace remains after the iḥrām has begun. Indeed, it is sunnah for the pilgrim performing Ḥajj or ʿUmrah to perfume himself before iḥrām.
The scholar Nawawī al-Jāwī (may Allah have mercy on him) said: “The third of them is applying perfume to the body shortly before it, that is, before iḥrām, whether the one entering iḥrām is male or otherwise, young or old, married or unmarried. The recommendation applies after performing the ritual bath (ghusl), and it is fulfilled with any perfume whatsoever, though the best is musk, mixed with rose water or the like. There is no objection to the perfume remaining on the body after iḥrām; however, if a woman becomes bound by the mourning observance (iḥdād) after entering iḥrām, she must remove it. As for perfuming the garment, it is merely permissible, not recommended, according to the reliable position (al-muʿtamad). But if one removes his perfumed garment while the scent is still present in it and then wears it again, he is liable for the fidyah (expiation).” [Nihāyat al-Zayn, Vol.1/212]. And Allah Almighty knows best.
Does the clipping of nails nullify ablution?
No, it does not, and it is preferable to wash the hands afterwards.
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.