fix spec errors
allow delete to remove more than one node. it now returns an array of all the items it deleted if more than one is deleted or the single item if only one item is deleted.