Fix memory leaks to MavenPomEditor

When opening and closing a MavenPomEditor, two references will stay:
- the wst ConfigurableContentOutlinePage of the source page keeps one
- the IDocument keeps a reference to the IDocumentListener inner class

The former is actually a bug in wst since the
ConfigurableContentOutlinePage is leaked, but that is nowhere near
important as the MavenPomEditor which can easily have a cumulated size
of 100MB (due to its reference to MavenProject).

Change-Id: Ic135f64c0884ef314cd5abb485b756880ea414ff
Signed-off-by: Carsten Pfeiffer <carsten.pfeiffer@gebit.de>
2 files changed