Fixed sample when command line argument exceeds 3
Fixed sample when command line argument exceeds 3

Fix IOT Bug 306. Updated simpleclient to exit and display help
message when command line arguments exceeds 3

Change-Id: I06d0692f9ee34f3fe8f2b0d08005770983838028
Signed-off-by: Shilpa Sodani <ddbab2bceaf7e51b6bbf1cdd786ca1269e00d5bb@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/306
Tested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>
Reviewed-by: Sashi Penta <32e61e548782370d3f4bdf383408e385d155e3e6@intel.com>
Reviewed-by: Yuliya Kamatkova <3a01ada6b8a9e92ccec2d7090568763a3bcaa4f2@intel.com>
Reviewed-by: Sudarshan Prasad <18992b2df49d20c769d3f89a8cc0a9f38a9dccaa@intel.com>
Tested-by: Sudarshan Prasad <18992b2df49d20c769d3f89a8cc0a9f38a9dccaa@intel.com>

tienfuc/iotivity-democlient-snap,santais/iotivity_1.1.0,santais/iotivity_1.1.0,santais/iotivity,iotivity/iotivity,santais/iotivity_1.1,santais/iotivity,kartben/iotivity,WojciechLuczkow/iotivity,iotivity/iotivity,tienfuc/iotivity-democlient-snap,iotivity/iotivity,santais/iotivity,WojciechLuczkow/iotivity,rzr/iotivity,tienfuc/iotivity-democlient-snap,kartben/iotivity,WojciechLuczkow/iotivity,tienfuc/iotivity-democlient-snap,rzr/iotivity,santais/iotivity_1.1,santais/iotivity_1.1,santais/iotivity_1.1,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,iotivity/iotivity,iotivity/iotivity,iotivity/iotivity,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,kartben/iotivity,iotivity/iotivity,santais/iotivity_1.1.0,santais/iotivity,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,rzr/iotivity,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,kartben/iotivity,santais/iotivity_1.1.0,santais/iotivity,santais/iotivity_1.1.0,kartben/iotivity,santais/iotivity_1.1,iotivity/iotivity,WojciechLuczkow/iotivity,santais/iotivity_1.1.0,santais/iotivity_1.1.0,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,rzr/iotivity,rzr/iotivity,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1,kartben/iotivity,santais/iotivity,rzr/iotivity,rzr/iotivity,kartben/iotivity,kartben/iotivity,santais/iotivity