pct import: Add logging.

Change-Id: Ia3fe1ff0075434d0b6903bf978c16499e07d699d
pct import: Reset clip region before closing the metafile.

Otherwise parts of the image are missing.

Change-Id: If9018c32807359862a9be825b0ebdaacce2d3490
MetafileXmlDump: No need to specify the stream, simplify the API.

Change-Id: Ia08f67e359bbd26cefdba8661f0b0c4ae2147382
MetafileXmlDump: Add dumping of META_CLIPREGION_ACTION's.

Change-Id: I4b51abf6193c33367edebc82772054875b5b9bba
pct import: Unit test for the clipping import fix.

Change-Id: I8f9df1d92c86c087e37f77209f413ff8c1c6358f