Port away from POSIX API

Removes the need for the kdewin library
Revert "Reintroduce kdewin library in a few places that still use POSIXisms."

Last uses of POSIX API is gone with parent commit

This reverts commit 160d935b5e146719b6e58d36e7b5df9a1c023568.
Drop FindKDevPlatform.cmake

No longer needed
Link against kdevmakefileresolver

Instead of compiling its sources twice
Fix copyright information, add myself
Minor: Move apidoc to more appropriate place
Port away from FOREACH_ARRAY
Fix some moc warnings