Try to use logind first to power the system off

Then fall back to ConsoleKit and HAL.