Make sure that Wayland window can do debugging/trace

Some additional logging improvements, so we can send these things to
kernel trace marker, for instance. Also fix minor issue in configure.ac

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>