Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.
Is it permissible for a Muslim woman to wear trousers at home?
Wearing trousers at home isn't prohibited so long as non-Mahrams do not see her. And Allah Knows Best.
Is it permissible to listen to chants praising the Prophet if accompanied by musical instruments?
If singing, or chanting in praise of the Prophet was accompanied by a forbidden musical instrument, then it is forbidden.
Is it permissible for a pious Muslim woman to stay with her husband who had quit praying out of laziness?
Quitting prayer is one of the major grave sins that come after disbelieving in Allah, but the wife of such a person isn`t considered divorced, rather, she should exert all her efforts in order to bring him back to the way of Islam. However, if his sin is likely to lure her from the way of Islam, then she had better separate from him by lawful means such as Mokhal`aa (When a wife pays a compensation for her husband in return for divorcing her). Moreover, if she exercises patience, and remains steadfast on her faith, then there is no harm in doing that.