graphml2prov: Fixed unicode errors and prov:role warnings
- plus some general code clean-up