CppTools: Provide whether a sub project is selected for building

Analyzers can use this to rule out irrelevant (sub) projects.

Change-Id: I5a9eb66f06156f0619dc639f6f4080a8fc761ee6
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
QmlDesigner.PropertyEditor: Use correct scope for enums

Change-Id: I07b1d83071407c19874af936617a395a37a79dd5
Task-number: QTCREATORBUG-13080
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>