Refactor: python: Minor fixes.
- Get rid of some unnecessary parens where we were constructing one element tuples for string substitutions.
- Remove XmlBase.init. This function doesn't do anything aside from call the superclass.
- Don't inherit from object.
- Use += where possible.
- Use % for string substitutions instead of adding.
- Don't rename the parameter to add_child in a subclass.