A little tip for those stuck using propitiatory batteries and chargers (like the eGo or other various 510 equipment for example) you will likely be 100% safe from this occurring to you if you just take a few precautionary steps.
First and foremost, never leave a charging battery 100% unattended, you don't have to sit there and watch it like a hawk, but leaving the house or leaving it charging while you sleep is a bad idea. ALWAYS take it off the charger as soon as it is done charging, I absolutely cannot stress this enough! Leaving it on the charger to trickle charge after it is fully charged is what can cause the battery to be unstable, and not only that but its lifespan will be drastically reduced if trickle charged. I would go even further to suggest you try and remove it from the charger when it is around 90% charge (that is if the charger lets you know how full the battery is). One nifty thing to know about li-ions is that undercharging them is not bad for them at all, in fact it will greatly increase their lifespan and it is much safer.
Secondly never let the batteries drop or get physically damaged. If they are dented or suffer a long fall to a hard surface, the interior of the battery could get damaged and can cause instability. The inside layers and things used in li-ion batteries are quite fragile and have limited tolerances for abuse.
Thirdly, just make sure to buy batteries from reputable sources and try to stick to real name brand stuff, cheap knock-off's will likely be built cheaper and with less QA. You may not have to do anything wrong at all to have one of those blow up in your face. Spend the few extra dollars to get the real thing.
If you stick to these principles (especially Point #1), you shouldn't have any issues, even if you are charging the batteries on a charger that isn't utilizing proper charging algorithms (unless the charger is faulty or charges at a highly unsafe current rate).