Introduced ElasticSearch nested type into index for MREF fields

1. Index : create nested type for MREF fields and store all the referenced entity in the MREF fields
2. Search : adapt the QueryGenerator to the changes made for the index. For MREF fields a nested query is created in order to retrieve nested type document
remove commented code please