minor fix on utils.es.
updated mapping.py
added new functions get_es_stats and do_index_from_collection