fix Menu and Command xml classes to wrap correctly

any subclasses of XmlObject must include optional positional arguments
node and context which are used by the super class to wrap xml (including recursively)