Add missing VerifyAll calls to test_validate

Many tests are missing VerifyAll after putting mocks into replay mode
so add them, and remove some spurious mocks which fail verification

Change-Id: I936311d834c93066c4cd043f8a2474bc638f396b
Only raise UpdateReplace when properties change

This changes the default behavior of Resource.handle_update to only
raise UpdateReplace if the properties are different. It allows updating
DeletionPolicy cleanly without deleting the resource.

Co-Authored-By: ala.rezmerita@cloudwatt.com
Closes-Bug: #1316171
Change-Id: I1d2864dc44ff7a5b4536b26f2dba525e01e56af0
Merge "Add missing VerifyAll calls to test_validate"
Merge "Only raise UpdateReplace when properties change"