Added Debug class for more convenient debugging output

Inspired by the QDebug class and qDebug() function from Qt. Actually it
might be nice if the LOG macro would also use this.