Added IExtendedDocumentConversionListener

This is a new hook that supersedes the actual
IDocumentConversionListener by adding 2 more extension points in the
document/entity conversion process.
Merge branch 'master' into newConvListener