Clean kapplication.h and KDE4 include dirs
- clean unneeded include variables/directories for KDE4 and Qt, adding the proper target to the libraries to be linked;
- remove occurrences of kapplication.h, adding QApplication headers and instances when needed.