Add option `power_off_after_discovery`

Option controls whether to shut down node after the discovery.

Change-Id: I447a640a963eafac820c94db3dcd005268ae6bef
Implements: blueprint returning-to-ramdisk