Modify configure script to support both Qt4 and Qt5 (also modify qconf project and modules to produce such script).
Add QHttp* classes dropped in Qt5.
Update QtSingleApplication.
Fix functions and macros using to support both Qt4 and Qt5.