Fixes #645: CDbConnection now throws CDbException when failed to open DB connection instead of failing with a warning