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.
Merge remote-tracking branch 'origin/master' into pidfile-support

Conflicts:
	CMakeLists.txt