Removed ConsoleKit dependency.
Updated for Awesome 3.5 compatibility.