Contain: flatten failure messages

Failure messages for collections would span multiple lines, which did
not display correctly in Xcode.

Addresses #12.