only run setup-scripts if mysqldb and mongodb are empty
Logged invalid email types as warnings

- Added test
Merge pull request #1415 from fauvel/issue-1415

 Type `XXX` not configured for class `CM_Mail`
Clear cache when `cm app --reload`.
Merge pull request #1416 from alexispeter/app-setup-fix

only run setup-scripts if mysqldb and mongodb are empty
Merge pull request #1418 from vogdb/issue-1418

Clear cache after `app setup --reload` command