More robust deprecation check code

Closes #4082
* reformatted code to allow for traversal
* deeper config items should be denoted like this: `object.object.object.property`.
* added tests for testing the deprecation warnings
Deprecated mail.fromaddress, mail.from is Title <email@address>

Closes #4018

* cleaned up `mail_spec.js`
* deprecated `mail.fromaddress`
* implemented 'Blog title <email@address.com>' format with fallbacks
* added tests to deprecation and from address, made existing ones more robust
* moved domain intuit into its own module: `GhostMailer.getDomain()`
Merge pull request #4085 from javorszky/iss4018

Mail: deprecated mail.fromaddress, reformatted mail.from to Title <emailaddress>