Add logind support

Allows chosing systemd (logind), consolekit, or no session tracking at build time.