A Mid-Infrared Study of Mira Variable Atmospheres: Phase Dependent Analysis of Spectral Lines Observed with the Spitzer IRS