Allow indexes to be any scalar

Hi,

As far as I know (and from my tests), nothing disallow an index name to be an integer. In my case, I use aliases where the alias is my database primary key (hence, an int), and currently Elastica throws an exception.

This PR makes now only throws an exception if this is a non-scalar index, and cast to string.