modified the constructor of AbstractCollection so the collection can use the dependency injection
modified the constructor of AbstractCollection so the collection can use the dependency injection

dedalozzo/pit-press,dedalozzo/reindex,reindexltd/reindex