Port some Debug::log to qCDebug.
Add overload to print std::string into QDebug.

Add an operator<< overload to allow printing std::string into a QDebug
stream, such as qDebug() << str. It will be removed once everything is
ported to QString.
Use Qt logging and assertions in Image class.