BaseTextDocument: Some cleanup
BaseTextDocument: Some cleanup

Doesn't need to be QObject based anymore, namespaces, remove
indirection for m_document private member, ...

Change-Id: I1862254f00a557da15c4d0961cb2adeef9299c0d
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>

danimo/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,kuba1/qtcreator,xianian/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,maui-packages/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,Distrotech/qtcreator,xianian/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,maui-packages/qt-creator,maui-packages/qt-creator,xianian/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,farseerri/git_code,kuba1/qtcreator,xianian/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,farseerri/git_code,xianian/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,xianian/qt-creator,kuba1/qtcreator,danimo/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,Distrotech/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,farseerri/git_code,AltarBeastiful/qt-creator,danimo/qt-creator,danimo/qt-creator,Distrotech/qtcreator,maui-packages/qt-creator,kuba1/qtcreator,kuba1/qtcreator,danimo/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,farseerri/git_code,kuba1/qtcreator