How many Rak`ahs (unit of prayer) are offered in Witr prayer?
All perfect praise be to Allah, The Lord of The Worlds Witr (an odd number prayer performed between Isha`a and Fajr) is offered with a minimum of one Rak`ah, and a maximum of eleven, but offering three Rak`ahs is the minimum of its complete form. And Allah Knows Best.
Is it permissible for a woman in her waiting period (Iddah) after her husband's death to leave her house and mix with non-Mahrams?
It is not permissible for a woman in her waiting period (Iddah) after the death of her husband to leave her house except for a necessity, such as for medical treatment, nor is she allowed to mix with non-Mahrams. A woman is not permitted to mix with anyone other than her husband or Mahrams, whether she is in her waiting period or not. However, there is no harm in accepting condolences from those who visit and responding to their inquiries about her well-being. And Allah Knows Best.
Is it permissible to swear by (Allah "The Living")?
Yes, it is permissible because "The Living" is one of Allah`s Attributes.
What is the ruling when the duration of the monthly period varies, and sporadically increases?
If the period didn`t exceed (15) days from the first seeing of blood discharges until its end including the times of temporary cessation, then it is menses. But, if the period exceeded (15) days, then the woman experiencing this is Mostahadah (bleeding outside the time of monthly period), and should abide by her regular period, and consult one of the scholars.