Removed configuration setting to ignore the 1911 warning since it produces compilation errors under Debug. Added a pragma to ignore a warning around legitimate use of ChunkedMemoryStream, which is marked as obsolete, which also caused compilation to fail.
Added unit test for DR-103 to confirm that the current behavior fails.
InsertValueAt() was not properly setting its cursor when selecting sub-nodes, which caused subsequent selections to use the wrong reference point and thus insert nodes at the wrong path.
Merge pull request #77 from bjorg/DR-103

DR-103 Building XDoc from key-value pairs can build wrong document.