JBPM-4528 BoundaryEventHandler.writeNode() doesn't write variableName

Test case and fix.

The fix is only applied writeVariableName() to BoundaryErrorEvent case because I have a test only for the case. If you think it should be applied to other cases (Escalation etc.) as well, please add.