Fixed destruction problems: Added virtual destructor to polymorphic base class QGLTexture2DPrivate, and moved static QDownloadManager::m_netAccessManager into a static function to tighten its lifetime.

Change-Id: If9f2dfcc85a54dca139988462671a25d77a32a14