return the closure so that it can be replaced later
Move existing edge case tests out of example
using rehydrate rather than delegate gives us a new closure and more control
control blocking on promises from executer
streamline creation of workflow executer
DSL should handle calls to workflow methods.
Before this fix, the tries and retries in a workflow method would ignore the scoping and be placed at the root.
failure in a doTry should fail everything in scope
quell the anger of CodeNarc
Ensure that overall log history is kept.
Local waitFors should not countDown the latch on errors.
It is naive because it lets the workflow end without ensuring that everything is done.
It is better to only cancel the tries and retries contained in the waitFor.
To do that we have to add waitFors to the scoping hierarchy.
Added docs
separate implementation classes for SWF and local
GlobalWorkflowAttributes was removed because it is an application concern.
avoid potential for a ConcurrentModificationException
Merge pull request #18 from claymccoy/edgecases

fixed many edge cases in local workflow implementation