Add elasticsearch client

Add elasticsearch client to avoid duplicate instances and call from model plugin.
Merge pull request #128 from marsanla/patch-3

Add elasticsearch client