Qt 5 port, code changes

Porting arora to qt5, this contains all the code changes, which is needed by the API changes. 
Unfortunately qmake - stuck in an endless loop trying to generate the makefiles, so it can't be merged yet. I'm open to any suggestions, how to fix it :)