Recursive remove of namespaces

Copied some nokogiri functionality to remove namespaces, included a test also.