Cluster startup tests

Tests:
- master/slaves should always join a cluster when the database directory is empty
- 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