Is permissible to include a will requesting that a Holy Qur'an buried along with me?
It is not permissible to include a will requesting that a Quran be buried with the deceased in their grave. This is because the body of the deceased typically decomposes and may release impure substances, and it is not allowed to expose the Quran to impurity. Intentionally desecrating the Quran is an act of disbelief. Instead, read the Quran during your lifetime, as it will benefit you after death. And Allah Knows Best.
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 to pray with a heater (stove) in front of me?
There is no harm in praying with a heater in front of you, as long as you do not intend to venerate the fire or imitate those who worship it. And Allah Knows Best.
What is the expiation for perjury?
Perjury is forbidden and one of the major sins that require turning to Allah in repentance, seeking His forgiveness, giving back rights to whom they belong, or seeking their forgiveness, and expiating for that oath.