I'm going to be blunt. You need to fix this problem before you get into the workplace. Work only in five minute increments and only on stuff you are interested in and prefering to work alone and not with a team are all reg flags of someone who would be a bad hire.
The first thing you need to do is disconnect from all the distractions. When you are working, no Facebook (or other Internet time-wasters), no phone, no IM/email, no games. Period. Never under any circumstances during work hours(well you can reintroduce work phone calls and work only IMs/emails later). SInce you aer in schoolll you will have to screate teh work scheduel, But I think you need to actually schedule the time every day to do this.
Next you need need to learn to concentrate for longer than five minutes. Set a timer for ten minutes (If you can't handle that then start at 6 minutes) and no matter what do not stop until it goes off. Gradually increase the time until you can concentrate for an hour.
Learn to do the boring bits first where possible and reward yourself for doing the stuff you don't like with the stuff you do like.
When you have a group project, do not work alone. Get the group together and work a scheduled set of hours. Set aside some time at either the beginning or end of the scheduled work period to discuss progress.
As far as you are OK if you like respect everyone on the project, well get rid of that attitude right now. You don't have to like co-workers to work with them. You need to be polite to everyone and offer the same professional competence whether the person is a jerk or not. If someone is going to cause disruptions because they can't get along, it is best to make sure it is someone else. This is totally about attitude, you can change your attitude.