Remove tools/fract.hxx from document.hxx.

If a forward declaration does the job, use that.  Adding a new header
in document.hxx is a very expensive operation since almost everyone in sc
includes document.hxx.

Change-Id: I2d78440d65da7207ceb16cb28a7404249eba066a