systemd can be opted out

Add NO_SYSTEMD argument to cmake so users can buid without even
checking for systemd.
Fix passwd authentication backend build

Closes #205
Merge pull request #223 from plfiorini/gcc49fix

Build fix
Add debugging messages to the authentication code

Helps tracking errors. Also explicitely evaluate exit code.
sddm-helper: exit with code 0 otherwise it looks like an internal error

When sddm-helper exits with a code other than 0, SDDM::Auth emits the
finished(false) signal which is interpreted as an internal error condition
by the daemon.

However with authentication errors we don't need to exit with an
error code, we just send an error through the socket. It will be
interpreted correctly by the daemon which will display an error in the
greeter.

Issue: #221
Don't restart greeter and display server if sddm-helper exited successfully

sddm-helper now finishes with exit code 0 even when an authentication failure
happend because it's a managed situation.

When an authentication error is raised we should really do something when
the error() signal is emitted.

Invoke stop() only when an internal error happens to avoid restarting the
greeter and display server for authentication errors, which is annoying
to say the least.

Issue: #221
Handle authentication errors from PAM conversation

We receive the error signal with an ERROR_AUTHENTICATION when the
conversation failes before the sddm-helper even exited.

Emit loginFailed() for authentication errors in order to show the
message from the greeter.

Issue: #221
Merge pull request #224 from plfiorini/fixautherr

Don't restart greeter when authentication fails
Indent with 4 spaces all CMake files

Make them all consistent.
Distinguish between sddm-helper exit codes

Restarting only in case of error like we did with the previous changes
leads to the greeter not being restarted when a user session ends.

The daemon need a way to know when it's appropriate to restart greeter and
display server according to what the helper says.

Making sddm-helper always return 0 in case of authentication error leads us
to confusion just like it was before, so it's better if it returns the
appropriate exit code and let the daemon decide what to do.
Rewrote the config to a more rigid state

Resolves sddm/sddm#39

More configuration instances now available. Every instance is a separate class.

Sections are supported.

Serialization handled in a more sensitive way - does not remove comments.

Type handling is unified, using the QTextStream shift operators.

There are also some basic tests, to be further improved...

Probably the most overengineered configuration parser you've ever witnessed.
Move LastUser and LastSession into /var/lib/sddm/state.conf
Divide the values into sections

Breaks backward compatibility.

Introduces sections that will be later used for the configuration UI generator.

Changes comments to have the first line as short as possible, again to be used in the UI generator.

UI generator - coming some time in this decade.
Fix name in CONTRIBUTORS
Merge pull request #169 from MartinBriza/configuration

Rewrote the config to a more rigid state
Save stateConfig, not mainConfig on successful login
sddm.service: Comment PrivateTmp for now

Turns out it's a problem or it might be, see #225 and #228.
We are about to release 0.9.0 RC so we don't want to have
potential problems here, let's comment this out and see what we
come up with for the next release.
Update ChangeLog for 0.9.0 release
Release 0.8.99
Merge pull request #229 from jleclanche/stable/0.9.0

Stable/0.9.0