Added createIndex (with optional data for mappings etc)
Added functions for delete index and type
Merge pull request #3 from frodegill/master

Grouped index functions, and added function for adding index and deleting index or type