Changed elasticsearch AR primary key handling

now supports mapped primary key when _id is part of source with an
alias.
reverted primaryKey of elasticsearch to be array again

meet the AR interface requirements.
Merge pull request #1765 from yiisoft/elasticsearch-pk-refactoring

[WIP] Changed elasticsearch AR primary key handling