Added method of getting pending replicas LocationKey for downloading results after being offline
Implemented so that TaskData remembers reputation of workers.
Added tests for TaskComparator