Bug Fixes in Development Tools
Fix the code completion model so that it computes the completion items in a background thread again.
Seems like this was broken when the code was moved from cpp to kdevplatform.
This makes the UI more responsive when automatic completion is enabled.
It might lead to slight regressions, because we use multi-threading where it accidentally wasn't used before (foreground lock was added in one place).