fixed compatibility with mongoose 3.6.0, added method unIndex to remove only index from elasticsearch