Investigation of Failure and Gassing in Advanced Lithium Ion Battery Systems with Electrolyte Optimization as a Solution