Add support for CMake APPEND_STRING.

Based on the work by Ben Wagner, but extended and properly tested.

REVIEW: 115095
SVN_SILENT made messages (after extraction)
SVN_SILENT made messages (after extraction)
Fix FindKDevelop.cmake installation

Consider it a Config file now, kdev-qmljs builds again!!1!!!!
Cpp: Port to kdevplatform's switchDefinitionDeclaration
Merge remote-tracking branch 'origin/4.7'
Merge remote-tracking branch 'origin/master' into frameworks

Conflicts:
	languages/cpp/cpplanguagesupport.cpp
Adapt to KDevplatform changes.
Try to make the compilerprovider work in Frameworks

Case where the asserts are triggered:
* Project is opened
* Project is still importing
* Parse job asks for includes (CompilerProvider::includes)
  => Project not yet added to the CompilerProvider
  => Assert

Now we just return an empty list of includes in this case.
Note: Not the best solution, because we now parse files with the wrong
includes, but at least it don't crashes. We need to think a bit more
about this.
Adapt to KDevplatform changes.

Note the call to findLocalDeclarations was a no-op _and_ gets
called again via BaseContext::localDeclarations anyways.
Merge remote-tracking branch 'origin/master' into frameworks
CMake: Port to generate_export_header()
Fix another build failure originating from GCC-4.7 bug.

Owing to a bug in GCC versions less than the 4.8, we encounter the following build failure when compiling kdevelop with GCC-4.7:

`KDevelop/projectmanagers/custommake/custommakemanager.cpp:46:7: error: looser throw specifier for ‘virtual CustomMakeProvider::~CustomMakeProvider()’
In file included from KDevelop/projectmanagers/custommake/custommakemanager.cpp:41:0:
KDevelop/projectmanagers/custommake/../../languages/plugins/custom-definesandincludes/idefinesandincludesmanager.h:96:17: error:   overriding ‘virtual KDevelop::IDefinesAndIncludesManager::BackgroundProvider::~BackgroundProvider() noexcept (true)’`

The GCC bugzilla (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53613) suggests a single workaround in this particular instance: adding a definition to the destructor outside the class definition.

This fix was prompted by several callers to #kdevelop whom all seemed to be running afoul of this issue. As GCC-4.7 is still in moderate use, it may be worth it to just bite the bullet and apply this for now. I still lack commit access and would be happily credited as "Craig Tenenbaum" <zarathustra.zoroaster@gmail.com>

REVIEW: 119709
Merge remote-tracking branch 'origin/master' into frameworks
Some port

Port custom-definesandincludes to qCDebug, qWarning
Add fixme
Use new connects
Port kdevprojectopen to kf5 and make sure it works
Make it possible to use the cmakemanagertest
Return Calculated Data for Includes and Defines

This fixes unresolved includes etc

REVIEWED-BY: apol