What is the ruling on undoing braids of hair during the ritual bath?
It is not a condition to undo braids if the water reaches all the hair and penetrates to its base. If the water does not reach except by undoing the braids, then it is obligatory to undo them for the water to reach. 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.
What is the ruling on ablution if vaginal discharge is expelled, and is it impure?
If these discharges exit from the external genitalia (apparent part of the vagina), they are not impure and do not invalidate ablution. If they exit from the internal part, they are impure and do invalidate ablution. If it is uncertain whether they are from the internal or external part, they are not impure and do not invalidate ablution.
The apparent part is what becomes visible when sitting, and what the husband's penis reaches during intercourse is considered part of the apparent. The internal part is what is beyond that. And Allah the Almighty knows best.
What is the ruling on entering the toilet with something containing the remembrance of Allah?
It is disliked to bring into the toilet anything containing a reminder of Allah, such as the Quran or a sacred name (like the name of Allah, Muhammad, etc.). If one does that, etiquette dictates that he conceal it so it is not visible while entering the toilet, either by cupping his hands over it, putting it in his pocket, or inside his shirt if it is a necklace or ring. And Allah the Almighty knows best.