Improve debug dumps

Add qdebug output operator for declarativewebpage.

Cherry-picked from new-browser-ui.
True that... will fix.