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>
Merge pull request #93 from stskeeps/debugging_trace_wayland_etc

Make sure that Wayland window can do debugging/trace