Merge pull request #751 from mdaliejaz/add_message_based_task_plugin_api

#718 - Migrated Sample Curl Task plugin to message based Task.
#718 - Added validation and logging.
The Json Schema validation requires some libraries which conflicts with shindig, so not validating via schema. Putting some if clauses to handle validations for now.
Also added logging for the errors.