Feeling too depressed and some times I feel like ending up life :(

Hi all,
I have been working for a famous organization for 2.6 years. I loved my job and was good at it. As days passed by, I felt like, am doing a monotonous job and felt there's no improvement in my knowledge and hence i decided to quit the job and take up some course in electronics field. Though my family is not that rich in supporting me, they decided to go by my decision , as i was strong in mind to pursue higher studies.
I had quit my job and joined an autonomous college to pursue my higher studies. As the college is 7 hrs away from my home, I had to stay in an hostel.(I have been in hostel even during my work)
Since my first semester, i have been facing problems like partiality, politics among staffs and gent staffs always used to talk in a very worse manner to girl students. I hated the situation. Students of my class were also in staffs prey. Most of my class mates gave importance to marks and started behaving rude and abnormal to others.
As I had a break in studies, I was not able to study at peace in first place. My parents too didn't care about me , that they used to call me very rare and never spent much time with me even when i went to my home.This became worse during my next two semesters.The one good thing is I got placed in core company in campus recruitment.
Now being my last semester, I had decided to join internship in a company to submit project thesis is college and hence I got an internship offer in one company. Meanwhile, i was working for a staff in one project in college.
As i got the internship opportunity, I asked my staffs permission to go to that company, but she refused.None except my guide gave me permission to go for internship. Atlast I joined internship and was working there till last week.Then came down a bolt on me. During the review, they said that they dont like my project and hence i have to come back to college and start a new project.
Now I have come to college ,Its been a week since i have come here, but there's no response for any of my efforts from my staffs. They are not approving me for my new project and within 7 days comes my final review. We have to submit our project hardware in college . Am depressed. Feel painful.I feel to quit the course and start looking for a new job . But my friends are asking me to keep up here and do some project and get the degree.
Am hopeless. I feel so lonely that few of my friends here at my class and hostel are avoiding me and also my parents are not even minding me. whenever I think about what to proceed, only two options come to my mind. Either to quit the course or quit life. 
Going mad.... As I discussed with my friends, they are asking me to complete these two months of course by adjusting the scenarios. But whenever I feel that I must adjust, am thinking its better to end life rather than struggling this way. Feeling idiotic to quit life, I think its better to quit course.. Am confused. ppl pls help me.