Add tests to exercise NORNSCTL_COMMAND_SHUTDOWN
The duration of 'sleep phases' in dry run tasks can now be defined both in the command line (by passing an integer with the number of usecs to wait) and in tests (by using the dry_run_duration field in the fake_daemon_cfg class).