Hi Ninjamonkyy, and welcome to the Forum - I'm sorry it's in such worrying circumstances.
Are your quails coturnix, or the even tinier Chinese (button) type? It's really hard to diagnose illness in such wee little birds, but you're right, it could possibly be cocci. It's hard to keep them clean, and the bedding dry, and as you know, contamination of the water supply by the cocci virus is only too possible with such messy little birds.
Are you feeding them on chick crumb, and if so, is it medicated? If unmedicated, you might try adding Coxoid drops to their drinking water, though if you haven't already got some in your first aid kit, it will be less effective as it needs to be given as soon as you see the first possible signs. Also, I wonder what kind of drinker you're using? A dish of water gets paddled in and contaminated - I found it worked well with quails to use one which clipped on to the side of the cage and had a little lip which stuck through the wire, so they could drink but not get into it. This sort of thing;
http://www.ebay.co.uk/itm/Blue-Anti-Alg ... _cLJSj-O4Q
(Actually I have some spares of these now I'm not keeping quails, and if you P.M me I will be happy to send you a couple for free.)
Change the bedding as often as you can, at least once a day - I used a pile of several layers of washable J-cloths or cut-up old cotton pieces, and then gently rolled up the top layer as soon as it got messy, saves removing all the chicks and other fittings from the brooder, and then machine-washed the lot. Make sure you haven't rolled up a chick by mistake, though!
What sort of heat do you have? Have they got enough space to get away from the heat source when they need, and are they spreading out satisfactorily to show they're warm enough?
I hope they pull through, - good luck, and do keep us posted.