added helper function for harmonizing index names

e.g. fixing problem with not-only lowercase model names

Signed-off-by: Alexander Knapstein <alexander.knapstein@inspirationlabs.com>
implement elasticsearch indices api (partial)

new api methods

indices.exists
indices.create - for creating indices with mapping settings

Signed-off-by: Alexander Knapstein <alexander.knapstein@inspirationlabs.com>
fixed missing semicolons

Signed-off-by: Alexander Knapstein <alexander.knapstein@inspirationlabs.com>
Merge pull request #1 from alexanderknapstein/master

index names helper; indices api methods implemented (partial)