fixed #1464 - change so persistence dir is only backed up if node is HA ...

...master or HA disabled; handles the case of HA autodetect selecting master hence the complexity.

also fixes some leaks in test and improves atomic file update support in FileBasedObjectStore.
(incorporates new logging from #1469)
confirmed, i think it was to do with `groups="Integration"` not behaving as i expected.

it that inherited test methods run with their original groups, even if `@Test(groups="Integration")` is defined on a subclass.  the only solution i can find is to override each method with the annotation explicit. :(