Use server's new lifecycle API. That's an important step in order to decouple
ourselves from the old, fragile proc wrapping. Without it, the driver might not
work on newer Xservers anymore. For old Xservers adding a fallback.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>