The second life of a car battery may be more valuable than its first, powering the grid when the sun sets and solving one of clean energy's thorniest problems.