Added Utility::deleteAll function to delete all elements in a
vector of pointers.