Debugger: Move some common code back to qttypes.py

Change-Id: I2306277ec39d6149c376bde584c51551a780877d
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Add autoderef to LLDB

Change-Id: Ie0f5c10f1a8eb7af531a850051c773ab3993d52e
Reviewed-by: hjk <hjk121@nokiamail.com>