Fix bug in creating NameSpaceContext object, add a couple of tests.
Eliminate named argument "config" in favor of primary argument.  Update docs, add a bit more detail.  Throw IllegalArgumentException if input doesn't have the expected root node.