Use logind for power management

ConsoleKit is deprecated; logind is future. Try to use logind for power management. If it fails, fall back to all of the other things (some of which could probably go away, but I'm not making that call)