[IOT-2387][IOT-2479] Fix RESET behavior
This fixes the Device Onboarding State logic, but still omits the
ResetSecureResources() call because it's causing a crash.
That issue is being tracked separately in IOT-2633, and can
be fixed in a separate patch.
Change-Id: Iebeafc1cfb34a9c009ec4d59e4c74838838c950d
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21913
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mushfiqul Islam <i.mushfiq@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>