Added method to delete objects in a context with a predicate.

Currently we have delete all in context and delete object. 

This just allows a predicate to be passed so all objects matching the predicate in the given context will be delete.