c14n: handle nested default namespaces properly

This should help with issue #7, and possibly #2 too