Extract mail configuration into a gem

I feel that much like paperclip settings (#4139), mail settings should be configured only in initializers using the normal rails methods. (using `config.action_mailer.smtp_settings`)

Here I've extracted the functionality into a gem
https://github.com/jhawthorn/spree_mail_settings

Also will partially fix #3833