Handle all replacements if interval template variables in the client. Fix issue with client and different versions. Adds better tests of the client
Handles minor differences of es 2, 5 and 5.6. Implements index pattern logic. Exposes builders for building search requests.