The power tool company behind DeWalt, Black & Decker and Craftsman is testing batteries that don’t explode