talk to your mandoob first...if your mandoob will not help you...do your question no. 3.

If it's not possible... you must resign first, then leave qatar and come back as family visit visa, then when you are here try to work on your residency...but this procedure will not guarantee you that you'll be a 100% transferred to husband sponsorship in short period of time.