Switch to TRACE, include stdio.h when debugging for printf

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #34 from stskeeps/trace_stdio

Switch to TRACE, include stdio.h when debugging for printf