Implement parser.Stack.__delitem__()

Allow the update code to delete old resources from the stack without
accessing the stack's resource attribute.

Change-Id: I9dbc623d7396dd84cdbee992fa91d88b6c01a0e5
Merge "Implement parser.Stack.__delitem__()"