What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
Is it permissible for a woman to sit with her brothers-in-law?
It is impermissible for a woman to sit with her brothers-in-law, and it is also impermissible for a person to have a Khulwa (seclusion) with his sister-in-law.
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.
If a woman becomes pure from menstruation shortly after Fajr in Ramadan, what is required of her?
If a woman becomes pure (from menstrual period) after Fajr, even shortly after, it is recommended (but not obligatory) for her to refrain from eating and drinking for the rest of the day. However, she must make up for that day after Ramadan.
She will be rewarded for both refraining from eating (imsak) and making up the fast (qada) since she was menstruating for part of the day.