Enabled wrap() and unwrap(). Also now setting CONF_FLAG on the
context. Now paying attention to XML namespaces. Other miscellaneous
changes.