Fixing error for unq_email when downgrading db
Fix db migration down() for message, contacts, data_feeds tables
Better handling of Exceptions when running at CLI

Just return exception text, not HTML when we're at the CLI