Safety is a primary concern when using lithium-battery technology—here's one approach to implementing the level of protection needed in battery packs for portables.