What is the ruling on a person in a state of major impurity (junub) or a menstruating woman (ha'id) reciting the Quran from memory?
It is not permissible for a menstruating woman, a postpartum woman, or a person in a state of major impurity to recite anything from the Quran, whether from memory, from the Quran, from a phone, or a computer. It is also not permissible for them to touch the Quran, based on what was reported from Ali bin Abi Talib that the Prophet (peace be upon him) was not prevented from anything regarding the Quran except major impurity (janabah). (Reported by al-Tirmidhi who said it is a hasan sahih hadith). Menstruation and postpartum bleeding are analogous to major impurity (janabah) as they are all major impurities (hadath akbar).
For those mentioned, it is permissible to mention Allah and supplicate even with verses from the Quran, provided they do not intend them as recitation of the Quran, but intend them as remembrance (dhikr) or supplication (du'a). And Allah the Almighty knows best.
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.
Which hour coincides with the last third of the night?
This hour could be figured out by calculating the number of night hours which start at sunset, and end at dawn break, then the total is divided on three to get the result.
What is the ruling on the ablution of one who cuts his nails, and is it permissible to cut them before the ritual bath for major impurity (janabah)?
Cutting nails does not invalidate ablution, and it is permissible to cut them before the ritual bath for major impurity. And Allah the Almighty knows best.