Ensure container ID refs are written into items

Delay translation and writing of items/series with containers until
the container ID has been set on the content.
delay creation of container dbo before writing
Merge pull request #110 from atlasapi/fix-container-id-refs

Ensure container ID refs are written into items