Compile Charm with Qt4 and Qt5

Attached patchset makes Charm compile with both, Qt4 and Qt5.

1. Not included are the buildsystem changes (both cmake and qmake) which are not ready for prime-time yet means needs more polishing. I will do a separate pull-request for that once ready.

2. There are some open tasks like getting a proper xcb-implementation for idle'ing done what is needed for Qt5 since xcb is preferred over xlib there. Atm the code is just commented out for Qt5 what means there is no idle-detection for Charm@Qt5@X11 yet.