Added support for relation by array attributes

fixes #1249
added elasticsearch test case for array attribute relations
fixed issue with indexBy and array valued relations
Sphinx distributed indexes support provided
Fixes #4384.
Update ActiveRecordInterface.php

fixes #3026
Update .travis.yml

temporarily skip app tests as they seem to be broken somehow
#4310: Removed `$data` from signature of `yii\rbac\ManagerInterface`
Fixed test break.
#4388: CORS filter fixes:

- Upgrade the documentation to match filter code
- Fix bad default behavior with Access-Control-Allow-Credentials
- Fix missing "s" in header Access-Control-Request-Method / Access-Control-Allow-Methods
Better fix for Dropdown container options

Better fix for #3443 that does not break BC and allows widget to be extensible.
Merge pull request #4393 from kartik-v/patch-1

Better fix for Dropdown container options
Doc translate for rest-resources
Merge pull request #4394 from MikeBazhenov/master

Doc translate for rest-resources
minor refactoring of FileValidator.
Fixes #3887
Fixes #4342
Merge branch 'master' of git://github.com/yiisoft/yii2 into 4342_mssql_driver_updates
Merge pull request #4401 from tof06/4342_mssql_driver_updates

4342 mssql driver updates
Fixes #4370: fileinfo extension is required for FileValidator.