Clean up actionConfirmPledges(). reformat Confirmation Email

Moved all the Email formatting logic into a new function called sendConfirmationEmail(). Pass an array of all the $data needed to format the email. The actual actionConfirmPledges() action now just groups the data into a hierarchy of: Shelters->Stories->Gifts,  creates the Pledge and redirects.