[IOT-1900] Implemented read-only pstat.cm
Modifies pstatresource.c to change the UPDATE behavior and read-only nature of pstat.cm.
Also changes provisioning manager to write to pstat.tm instead of pstat.cm.
For now, the "cm" Prop just reflects the "tm" Prop. This will change when
the other aspects are implemented including IOT-1958 fix.
patch set 2: merged the provisioning tool (OBT) changes from 18121;
renamed the map-size consts to make more sense and added comments for
future editors (plus a few TODO items for IOT-1958)
patch set 3: rebase
patch set 4: misc editorial cleanup on pstatresource.c
patch set 5: fix provisioning issue found by Jong-Min (thanks)
Change-Id: I42ef3b1128d34215067d81f2216a8de7a5812371
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18173
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Jongmin Choi <jminl.choi@samsung.com>