Fix include filedocument_p.h in CMakeLists.txt
Fix virtual destructor in AbstractDocumentPrivate.