Added delete_if and delete_all for ObjectCollection

Added delete_if and delete_all for ObjectCollection