Implemented all the necessary API calls for the deployer worker. This is the last step needed before the deployer can be refactored to use only the API to talk to state.
Also fixed the StringsWatcher client implementation (I initially got it wrong, but since nobody was using it yet it got undetected).
Few other minor issues discovered and fixed in state, adding tests as needed.