Fix json tests wrt kdevplatform changes
Reuse reparseProject code
Adapt to kdevplatform changes
Minor: Code cleanup
Provide an appdata file, for appstream