added Erase and EraseIf function to dali-vector