MultiCodebaseScheduler: use deferred for setLastCodebase, startService and gotChange