Dude chill. Don't be so hard on yourself.
If someone in your class hates you, they can go forget themselves, they just don't realise how inteligent you are.
My parents are almost divorced too, and I got depressed for awhile. But I eventually got over it. It will start to pass over time, trust me. Also remember they are doing it for their health and your health.
I have never had a girlfriend either, it's not good to rush things. One day the perfect girl will come along, and you will find your one true love. Just wait.
Enjoy life, and don't dawn on stuff like that. Try to talk to someone, or distract yourself a bit. There is always problems in life, but we are built to get through them. All of us. I mean, I am practically through it, so, I bet you can make it through it too. Feel free to PM me any time ;).