Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.
What is the ruling of Islamic Law on eating or drinking during the circumambulation?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
It is disliked (makrūh) to eat or drink during the circumambulation (ṭawāf).
Shaykh al-Islām Imām al-Nawawī states in al-Majmūʿ: "It is disliked to eat or drink during ṭawāf, and the dislikedness of drinking is lighter. Neither of them, nor both together, invalidates the ṭawāf. Al-Shāfiʿī said: 'There is no objection to drinking water during ṭawāf, and I do not consider it sinful; however, I prefer that it be avoided, as refraining from it is more befitting in terms of proper conduct.' Among those who explicitly stated the dislikedness of eating and drinking, and that drinking is the lesser of the two, is the author of al-Ḥāwī."
If, however, a person is in genuine need of drinking, then there is no dislikedness in doing so. In any case, the ṭawāf itself remains valid. And Allah the Almighty knows best.
What is the ruling on one who sees moisture on his clothes and doubts whether it is semen or pre-seminal fluid (madhy)?
Whoever finds moisture upon waking from sleep and doubts whether it is semen or madhy, and cannot distinguish between them, he may choose between them and act according to his choice. If he wishes, he can consider it semen and perform the ritual bath, or consider it madhy, perform ablution, and wash what it has soiled. This is because if he fulfills the requirement of one of them, he is definitively free from it, and the default is his innocence from the other. And Allah the Almighty knows best.
Is the marriage contract considered valid if concluded at home by the marriage official (Ma`zon)?
Yes, it is valid as long as it is registered at the court.