Investigations into the Production and Reactions of Perchlorate on Mars, Its Effects on Organic Compounds, and the Implications in the Search for Life