clean paths of target files

this is required for proper functionality of itemsForUrl
since it uses an optimized index-based lookup which
breaks for un-cleaned urls.

Thanks to Ben Wagner for investigating this.

BUG: 296021
REVIEW: 104339
Merge branch '4.3'
Test also kde4_add_unit_test.

I've seen some times where a mysterious "TEST" file is added, but I
can't reproduce yet.
Revert "make include-path resolution using make optional on a per-project basis"

include-path auto completion creates a includepath computer in the background
thread which would break this patch (and assert, actually).

shows that we desparately need a unit test for this. I'll revive the patch
once I have time to fix it properly.

This reverts commit ff1744bcb8b125f6bcb0227925973a59d176de39.
Use the new API in AbstractFileManager to filter VCS dirs

Use the new API in kdevplatform to filter out VCS directories. This makes quickopen a lot more useful
especially with file-intensive VCS like git as its not polluted by hundreds of metadata-things.

The list is partially taken from KDevelop3's grep-plugin which had some names for rare VCS.
Capitalize.
guard against crash by checking validity of containerClass

indexed declarations might become invalid when the duchain lock gets released
add unit test to benchmark makeoutputmodel

CCBUG: 295361
optimize: mark FileteredItem as movable

CCBUG: 295361
prevent UI-lockup when adding lots of stdout lines to make output model

we now add batches of 50 lines and then return to the event loop,
continuing with the rest of the lines via a QueuedConnection

the unit test shows that (on my machine) the event loop is roughly
returning every 80ms. the test ensures that this time does not cross
the threshold of 200ms which is imo too much.

on a further note, it is interesting to see that optimizing the actual
adding of lines is not easily possible, the tons of regexp matching
is simply required... the only possible way would be to make the error
patterns configurable such that e.g. those for unused compilers or
unused toolchains are not queried.

BUG: 295361
add icon to copy action
only show alternatives in context menu if there are more than one
add license + aleix as copyright holder
fix qthelp documentation on some systems with firefox installed

there, a bogus mimetype is installed that triggers our qthelp://*.html
urls to be associated with application/x-extension-html. this is
not liked by QWebView and not displayed at all. So, catch that case,
and rewrite the mimetype to text/html

BUG: 288277
set user stylesheet on qthelp documentation for readability

- fixes some layouting bug for our very narrow webview
- fixes bad background for systems that don't have a
white background set by default
fix crash regression, use QWeakPointer
workaround infinite loop in template instantiation (fixes e.g. Eigen code)

some template code trips up our instantiation code leading to an
infinite recursion. this patch adds a depth counter to prevent
this.

furthermore, a unit test is added which reproduces this issues reliably
so someone with more knowledge can write a proper fix

BUG: 269352
Merge branch '4.3'
Limit project initialization, only let 1 project to be set up at a time.

Helps serialize the KConfig calls issued when the project import is bootstrapped.

BUG: 296348
Limit project initialization, only let 1 project to be set up at a time.

Helps serialize the KConfig calls issued when the project import is bootstrapped.

BUG: 296348