Is a woman`s neck an Awrah (private part)?
All Perfect Praise is due to The Lord of The Worlds.
It is an Awrah, and it is forbidden for her to reveal it before non-Mahrams (Marriageable men). And Allah Knows Best.
Is the prayer of someone who didn`t face Quibla (Ka`ba direction) valid?
All perfect praise be to Allah,The Lord of The Worlds. Facing the Quibla is a condition for the validity of prayer, and the prayer of the person who hadn`t faced the direction of the Quibla is invalid, and he is obliged to repeat it. And Allah Knows Best.
What is the ruling of Sharia on woman shaking hands with non-Mahram man?
All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
The Messenger of Allah (PBUH) said: "It is better to be stabbed in the head than touch a woman to whom one isn`t related." [Transmitted by Al-Tabarani /Al-Mo`jam Al-Kabir, Hadith No.16880]. Accordingly, it is forbidden for men to shake hands with non-Mahram* woman. And Allah The Almighty Knows Best.
* The women/men that you are allowed to marry. It includes all women/men other than mahram (including cousins).
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.