Refactored worker registry to be a scheduler registry.

Store only one scheduler per appSpec in workerRegistry. Defer scheduler creation until worker is requested from workerRegistry.