Remove unused code

We're already in an else branch of if (daemonApp->testing())
Move sigusr1 handling to be in Xserver code and be more semantically correct
Fix test mode.

With Xephyr there is no usrsignal, so we need to emit start manually
Merge pull request #270 from davidedmundson/asdf

Fix sddm-test mode
Fixed "avaialble" typo in man pages
Merge pull request #278 from eyolfson/typo-fix

Fixed "avaialble" typo in man pages
Never try to login as the user SDDM
Merge pull request #279 from davidedmundson/block_sddm_user

Never try to login as the user SDDM
Move onAuthenticated XAUTHORITY generation to the helper

This avoids it being created as root and then chown'd.
Fix compilation of the passwd backend

Nobody noticed until now, one would say it's not very popular
Merge pull request #280 from MartinBriza/lessroot

Move onAuthenticated XAUTHORITY generation to the helper
On the PAM greeter session check it's the sddm user
Passwd: enable autologin for the greeter under the sddm user
Load Xsession scripts on startup

Stolen from
http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/view/head:/debian/lightdm-session
Fix ZSH integration part of Xsession script

This is a long-time issue for Kubuntu it seems.

See https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/13965 (KDM
contains the same code, and people also had issues logging in with ZSH
here). The bug report is from 2005 ;)
Merge pull request #276 from krf/load-xsession-scripts

Load Xsession scripts on startup
Activate the login window after showing

This fixes password fields not getting focus
Merge pull request #288 from davidedmundson/focus_on_start

Activate the login window after showing
Merge pull request #287 from krf/make-zsh-integration-work

Fix ZSH integration part of Xsession script
Fix comparison operator for arguments in the helper

Fixes the confusion regarding greeter always being true

Thanks to dcb314 on github for noticing

Closes #289