Implement autoload model aliasing (#2117)
Replace is_null() with === / !== NULL

Exact same behavior, but faster. I also think it's more readable.
[ci skip] Fix issue #2157 - docs on the email library
A few adjustments to previous commit
Merge pull request #2152 from vlakoff/develop

Replace is_null() with === / !== NULL