Refactor PAM support.
PAM clean up.
Use simple define instead of version to check for Qt5.

Version check doesn't play nicely with moc.
Merge branch 'pam_refactor'
Rename cmake define for better consistency.
More pam clean up.
Minor clean ups.
Access configuration through daemonApp like all other singletons.