JGRP-1756

Fixed CME that was thrown because not properly protecting iteration
of SynchronizedHashMap.  Also fixed up issue that when reregistering
a task that we have to add our id first before sending to coordinator.