everything updated to check peers capabilities before dispatching tasks.
onPeerCapabilitiesChanged functionality redefined. Method
tryToAssignAvailableJobs added.