JS API: Fix unregister resource bugs and start with OCDoResponse.
JS API: Fix unregister resource bugs and start with OCDoResponse.

zolkis/iotivity-node,zqzhang/iotivity-node,zqzhang/iotivity-node,zolkis/iotivity-node,zolkis/iotivity-node,zolkis/iotivity-node,zolkis/iotivity-node,zqzhang/iotivity-node,zqzhang/iotivity-node,zqzhang/iotivity-node