Cluster startup tests

Tests:
- master/slaves should always join a cluster when the database directory is empty
- master/slaves should always join a cluster when the database directory contains
  the store files but no logical log files
- a database directory with store files but no logical log files can be used
  to seed a cluster

Fix a bug in ResponsePacker about checking if a transaction is present or not in the store.