Close #803. Fix #802.

Fix the documentation of XML::Node#namespace and add more tests to test
the behavior of namespaces