Fix mail_helper to use CodeIgniter email library

- Much better support for SMTP
Updated config file for newer CodeIgniter

- May cause issues for installations that are not being rewritten
- Installation-specific options should be saved in `-local.php` config files!