Make session management work in xsm
New Qt5 test app, build with Qt 5.2, dev branch
Merge pull request #2 from teo/master

Qt4 testable with xsm, and added Qt5 test app