Support building against Qt5.
cmake: Autodetect Qt-version. Prefer Qt5, then require Qt4.
Merge pull request #4 from sgh/master

Add Qt5 support