Log state changes in format that can be retested
Allow tranistion to running state if running error handler

add tests
Don't cause NPE using node step job reference error handlers
Improve handling runtime exceptions in workflow state changes

Add debug logging in dev mode for state changes
Merge pull request #922 from gschueler/issue/896-jobref-eh

Fix exception caused by Job references as node step error handlers