FIX: Provide a default value for WorkflowTemplate::createAction() to prevent errors.

The $definition argument is sometimes passed null, which violates the WorkflowDefinition type hint (at least in PHP 5.3.19). By making the default argument null, this issue seems to go away.