docs and tests for new form `container :nested`
Merge pull request #6578 from rolandwalker/doc_container_nested

docs and tests for new form `container :nested`