Removed external elementtree dependency

Switched to the internal elementtree library and added utf8 encoding where needed so that it doesn't choke on non-ASCII wiki content.