Updated to support QT5

I've updated the 0.8.x branch to support compiling under both QT4 and QT5.
Each has a 'CMakeLists.txt' in the 'qt4' and 'qt5' directories respectively. (QT4 is the default 'CMakeLists.txt'.)