Improve detection of index existence

Allow aliases (like _all) to be used only when reading data.

fix #205
fix #233
Fix typo (SparkCfg instead of SparkConf)
Allow index wild cards

improve index validation
relates #233