Insert wiki-type XML dump into MySQL database

Lots of TODOs here, but it works!