tests: Verify changelog application in master processes

Use MAGIC_DEBUG_LOG mechanism to make tests fail if any changelog entry
didn't apply in tests which apply changelogs in the master server (ie.
tests of auto recovery and tests of shadow master). All the tests by
default will generate metadata checksum after each change to the
metadata.

Change-Id: I5f2041e98c786ef14ec2926f5e28aef54fdf69e5