Introduce app info xml parser including basic unit test - necessary for ...

...#10777
Also here: Maybe throw an exception instead?