Why in the world would you give him sex when he's abusing you? HECK no! You don't have to give him sex just because he wants it. He's just USING you.
Thank God you don't have children. I would HATE to think they'd have to see this kind of treatment of their mother.
Personally, I don't think this foyer light is the main issue. For him to have gone off THAT violently because it wasn't on, is ridiculous. I think he had something else on his mind.
Is there a possibility that he MIGHT have someone else on the side? Even a slight possibility? It just seems to me that he was trying to pick a fight -- and the foyer light just happened to be "the thing" at the right time. Seems to me like he's been trying to ask you for a divorce for a long time, and this was the perfect time -- he got to pick a fight and move to the basement!
I'd ask him if he really wants a divorce, or if he REALLY wants marriage counseling. He hasn't grown up yet. He's still a little boy, and if he can't have his own way he's going to throw a temper tantrum. I don't think I'd like to live with someone like that -- and now would be the perfect time to get RID of him BEFORE you start a family. Counseling might help, but you're still going to have trouble with this one.

Do you want a lifetime of taking care of another "little boy?" I wouldn't want to.
You deserve a mature, settled, decent, loving, caring, man who cherishes you and who wants to be with you til the day he dies!! It's certainly not THIS ONE. Find another -- get rid of this one. You'll never regret it! God bless and please take care. Hugs, Lee