snapshot daemon.
dist.lua
Broken sophia module.
dist.lua defines work_dir explicitly.
work_dir is wal_dir.
Drop snap_check_period (uses snapshot_period/10).

* Rename snap_period and snap_count to snapshot_period, snapshot_count.
* Move snap_daemon to box.internal
Use tonumber for octal numeral system constants.