Added variables sync_to_disk_on_flush_command and sync_to_disk_on_shutdown

Issue #39
When these options are enabled, in-memory configuration is saved on disk after
  every FLUSH command and/or after SHUTDOWN