Restore resource_id from backup_stack

When UpdateReplace is occurred, the resource is moved to backup_stack,
and create new one. Then, resources which has dependency for updated
resource will be moved to backup_stack.

If the creation of update is interrupted by some reason(e.g. heat-engine
down), dependencies between backup_stack and exist_stack will exist.

Heat deletes backup_stack before deleting exist_stack. The dependency
still exists, so it will be failed. Thus, add behavior that restores
resource_id in the backup_stack when the stack is deleted.

Change-Id: I32cecba17ae160d4631fb2611e34b91bb921dc5e
Closes-bug: #1334514
LaunchConfiguration replace on changed Metadata

This makes AWS::AutoScaling::LaunchConfiguration raise
an UpdateReplace if its template Metadata is changed on a
stack update. Any changes to LaunchConfiguration should result
in the resource being replaced, since this is how those changes
propagate to the scaling group.

This fixes a regression which has likely existed since
update_allowed_keys was removed: I78494aba07b6badeca8e95f1875ca8e4b9b0290c

Change-Id: I3a53422ed862777dffb9cac28088fbfe8dd417fa
Closes-Bug: #1287953
Merge "LaunchConfiguration replace on changed Metadata"
Merge "Restore resource_id from backup_stack"