Fix reporting of FieldML dependencies i.e. XML2 to parent scope.

Fix by hsor001. Needed to build zinc and cmgui on windows.
https://tracker.physiomeproject.org/show_bug.cgi?id=3502
Merge branch 'master' into fieldml-report-dependencies
Merge pull request #3 from rchristie/fieldml-report-dependencies

Fieldml report dependencies, also fix iteration bug.
Merge remote-tracking branch 'fieldml/master' into zinc_mods
Merge pull request #6 from OpenCMISS-Zinc/zinc_mods

Changes look fine.