[res] Finalize resources in SC-v2 RESTRICT AUTOMERGE

+ modify the finalization script to support new mode -
  staging-public-group

+ support removed items

Bug: 203782582
Test: manual, aapt2 dump on the generated resources

Change-Id: I507f85737d0ba5bf074dd8d98633087ff33c8382
3 files changed