Add MissingResourceException and use to improve bootstrap

* Makes ContentWriter.writeContent throw a WriteException.
* Throws a MissingResourceException if a container of an item hasn't been written when the item is written.
* Catch MissingResourceException in the ContentReadWriteWorker, a bootstrap of the container is attempted, then the item is attempted again.