New truncate and truncateWords methods

New truncate and truncateWords methods, https://github.com/yiisoft/yii2/issues/2941
Update BaseStringHelper.php

Length check.
Update CHANGELOG.md
Update BaseStringHelper.php

Updated to use mb_* functions
Test case for new truncate methods.

Test case for new truncate methods.
Add wait() to login test with wrong credentials to fix WebDriver test
Update BaseStringHelper.php
Add ODBC support to yii\db\Connection
Update finnish translation
Merge pull request #2977 from PaulVanSchayck/fix-webdriver-test

Add wait() to login test with wrong credentials to fix WebDriver test
Merge pull request #3051 from janisto/message_fi_update-2

Update finnish translation
start debug logging only if debug runs when bootstrap.
Merge pull request #3049 from resurtm/db-connection-odbc

Add ODBC support to yii\db\Connection
Fixes #3052: Fixed the issue that cache dependency data is not reused when `reusable` is set true
Update authorization.md

RBAC Rule small fix
Merge pull request #3058 from armab/patch-1

Update authorization.md
Refactored app bootstrap logic.
fixed file PHPdoc

issue #3026
Merge branch 'master' of github.com:yiisoft/yii2

* 'master' of github.com:yiisoft/yii2: (79 commits)
  Refactored app bootstrap logic.
  Update authorization.md
  Fixes #3052: Fixed the issue that cache dependency data is not reused when `reusable` is set true
  start debug logging only if debug runs when bootstrap.
  Update finnish translation
  Add ODBC support to yii\db\Connection
  updated error handler and requirement checker links.
  fixed broken API links [skip ci]
  added more doc [skip ci]
  update class map.
  Fixes #2034: Added `ContentNegotiator` to support response format and language negotiation
  renamed attributes to attributeNames in model
  updated phpdoc
  Removed `Application::preload` in favor of `Application::bootstrap`
  Update module-debug.md
  Update model.md
  Fixes
  Update basics.md
  typo fix [skip ci]
  Added `HtmlResponseFormatter` and `JsonResponseFormatter`
  ...
Most trivial edit