Set XDG_CURRENT_DESKTOP for the started session

See https://git.reviewboard.kde.org/r/117400 for details
Merge pull request #139 from MartinBriza/desktopsession

Set XDG_CURRENT_DESKTOP for the started session
Fix UserModel.cpp to use getpwent()

Per open bug report #123

Also fix some problems with passwd struct argument
per comments from @aavci1
Merge pull request #141 from Teknocrat/getpwd-support

Fix UserModel.cpp to use getpwent()
Search for user specific config path and merge with the default config

Better guard against null values in user config
If the user set background cannot be loaded fall back to the default one
Fix build deps
fix crash on double pam handle free

fixes sddm/sddm#145
Merge pull request #146 from MartinBriza/pamcrash

fix crash on double pam handle free
Merge pull request #144 from davidedmundson/debian_build_deps

Fix build deps
Merge pull request #143 from davidedmundson/custom_background

Restore custom background support from sddm-kcm
Fix xauth annoying error
Merge pull request #147 from Teknocrat/xauth-fix

Fixes xauth warning about authority file not existing.
Add missing semicolon.
Don't set GDMSESSION as it is not used anymore.

Fixes #138.
improve .travis.yml

it's little bit messy, but it works
infrastructure is ready for clang, but for now build always fail
Merge pull request #149 from iXit/master

Fixes autobuilds using travis.
Added travis build status.
Removed Session class and implementation of Authenticator
Some basic cmake module, use QAuth instead of PAM and crypt