refs #828 Remove namespace_details.{cpp,h} by moving code into
collection.{cpp,h}, fix tests.