unit test: xmlstring: Correct onEnd handling (only InstructionModel)

Fixes multipleInstructions test
unit test: xmlstring: Add orderIndependence test

Currently fails
xmlfactory: Add optional prioritize parameter on registerListener
xmlstring: Register as prioritized

Fixes orderIndependence unit test