Parse and offer productRegisterFlavor attribute (bnc#896224)

The value is available as Product::registerFlavor. For the installed
base-product additionally via Target::targetDistributionFlavor.
Introduce dumpAsXmlOn concept based on asString.
Make Date from string explicit
changes 14.33.0 (30)