BUG: fix the issue #86 in github: couldn't add a workflow transition with SS3.1
Merge pull request #87 from normann/ss3

I don't haven't tested this - but as the patch is simply checking for the existence of $record and Form::loadDataFrom() is expecting a DataObject, I'll can merge it.
BUG: when a edit form in WorkflowFieldItemController doesn't load a record, when saving it $form->getRecord() return null, so we need to reassign the the current $record to the object that this form is saved into.
Merge pull request #88 from normann/ss3

BUG:  WorkflowFieldItemController::doSave() when the object is a newly created