DATAMONGO-978 - Derived delete query should pass on type information.

We now pass on type information for derived delete queries to the according delete operation. This propagates the information correctly to the Before and After events.

Before this change the type would have been set to `null` in case of non collection like method return type.

----

Should be back ported to `1.5.x`.