Fix for defect - cannot set content type on createActivityNode.

Allowing the user to now set the content type for the Activity Node
as HTML or text.
Tested Activity samples. Working fine.