Fixed wrong links
Merge pull request #3379 from marsuboss/fix-guide-link-security

Fixed wrong links
Fixes #699: fixed wrong usage of self and static
adjusted elasticsearch extension to version 1.0 of ES

breaking changes.
Merge branch 'master' of github.com:yiisoft/yii2

* 'master' of github.com:yiisoft/yii2:
  Fixes #699: fixed wrong usage of self and static
  Fixed wrong links
Removed duplicate property
Fixed rbac tests to use migration
RBAC migration is now aware of custom table names, speeded up RBAC tests
Fixed RBAC migration for SQLite
Simplified RBAC DB manager test
Fixed mongodb to use non-deprecated method of determining if there's an active connection
Re-init application if it was destroyed during RBAC test
Fixes #3383: Added `$type` parameter to `IdentityInterface::findIdentityByAccessToken()`
correct typo in phpdoc for HttpBearerAuth class
Added missing changelog line for mongodb fix
Fixed inconsistent return of \yii\console\Application::runAction()
Added `yii\console\Controller::EXIT_CODE_NORMAL` and `yii\console\Controller::EXIT_CODE_ERROR` constants, `yii\console\MigrateController` now returns `yii\console\Controller::EXIT_CODE_ERROR` in case of failed migration
Silenced migrations output in rbac test in case there's no error
Merge pull request #3386 from adamaltman/master

correct typo in phpdoc for HttpBearerAuth class
better exception message for non existing validator