Qt5 support

**ATTENTION**: the PR is meant for test purposes.

use qmake to build:

For Mac OS X (OSX 10.7+):
 - ``./genapp.sh xcode``
 - ``./genapp.sh build`` 

For Linux:
 - ``qmake -spec linux-g++``
 - ``make -j8``

For Windows:
  - ``qmake -spec win32-g++``

If you prefer cmake, please be patient. 
Our cmake build support is in the way.