xcrnsaver.vapi: bind states and masks.
XlibDisplay: listen to X events and catch XScreenSaver.NotifyEvents.

This permits to fire the new DisplayInterface.idle_changed() signal so that interested listeners
can know where the device is in idle.