add createToken method to Workflow
allow errors to be set in workflow
Merge pull request #5 from iampersistent/master

add createToken method to Workflow