sdktool: "Jolla: Refactors the mer plugin, adds targets watcher"

Cherry-pick only mer related files from e8cc8e5.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Mer: Write targets.xml into the shared "targets" folder"

Cherry-picked from c8d5815.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Adds missing files for prev commit"

Cherry-picked from 15a67b7.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Indentation in "sdktool --help addMerSdk""

Cherry-picked from ccc311d.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Mer: Shared "Target" => "Targets". For consistence"

Cherry-picked from 8efc099.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Add a XmlParser for targets.xml"

Cherry-pick only mer related files from 1c2b1a5.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Use QtXmlPatterns for new targets.xml"

Cherry-pick only mer related files from 0e5a715.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Adds 'shared config' paramter to sdk tool"

Cherry-picked from 419ce59.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Adds unit test for addmersdkoperation"

Cherry-picked from d4dfc07.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Add RmMersdkOperation to sdktool"

Cherry-pick only mer related files from 49f74dc.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Add rmmertarget to sdktool"

Cherry-pick only mer related files from 78eb0c2.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: minor. style fix"

Cherry-picked from 09c25aa.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Fix sdktool removeMerTarget operation initialization"

Cherry-picked from 786dfc5.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Fix save targets.xml after rmoperation"

Cherry-picked from d3b441f.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Adds headless parameter for sdktool in mersdk operation"

Cherry-picked from a13814d.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Jolla: Change all exit codes due to qt qprocess bug"

Cherry-pick only mer related files from bb70a5c.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Add --shared-src option to addmersdkoperation. Fixed some tests."

Cherry-pick only mer related files from 599cb4f.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "[qtc] config file rewriting and alt src directory setting"

Cherry-pick only mer related files from d1de60a.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: "Mer: Allow sdktool to write its name into the xml headers."

Cherry-picked from 85a895f.

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
sdktool: Enable mersdk operations

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>