Open log only once and fallback to stdout when unable to open

Make QFile static to avoid opening and closing it for every log
message which will be rather slow.

Also, if it's not possible to open the log file fallback to
stdout to avoid losing log messages.
This is useful in test mode which runs as normal user.
translate japanese
update JA translation
Support logging to journald if enabled

Add support to journald logging that provides us much more information
such as code line and function, process command line, etc...
Logging works just like before when running interactively.

Since the DAEMON or GREETER prefix are not useful when logging to journald
and there was not even consistency between them, we now have two message
handlers respectively for daemon and greeter.

Those message handlers prepend the correct prefix to the message when
logging to file or stdout.  As a result all log messages don't need to
provide those prefixes anymore.
Flush stream when logging to standard output

Print everything in the stdout buffer immediately.
Add session information for logind

Make sure logind knows more information about the user session.
Make test mode parameter consistent and pass it to the greeter

Greeter now recognize --test-mode instead of --test for consistency,
also daemon pass this argument to the greeter if in test mode.
Fix some memory leaks if SDDM is closed when a session is running
Remove debian subfolder
Move X cookie generation out of Session code.
Do not generate an cookie as root when loading

It's not used by anything
Remove explicit delete call to parented object

d->socket has the GreeterProxy object as a parent so will be deleted
anyway
Proxy messages from the greeter in SDDM output
Catch errors launching the greeter before we block.
Move generateName to a separate file
SocketServer generates it's own name

SocketServer is in charge of creating the socket name. It then exposes
the full socket path.

SocketServer is changed to not have m_started and the server in separate
states.
Only set session environment user/path if set
Remove -march=native to fix ARM builds

This flag breaks ARM builds and doesn't buy us much when building
on other architectures.
Add version information

This variable will be useful when we need to reference sddm version.
Add man pages

Man pages are generated from reStructedText using rst2man.
Closes #81.