Fix a formatting problem with configuration defaults: sub-configurations of the wrong length generated invalid C code.

refs #1074
Split the global transaction_sync configuration into two parts: a sync method (dsync, fsync or none), and a sync_on_commit flag (false by default).  Convert the transaction-local configuration into a simple boolean "sync" using the configured method.

#1074