Improvements to iCloud backend to better handle setup of the container.
There was a potential race condition setting the root directory URL. Fixed that.
Also put in better checks for when the URL is nil, for whatever reason. Also call the directory setup after connect: is successfully called.