swf_respond_activity_task_completed function

Used by workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided)