Modified the Cont and StateCont collections functions to use workflows, based on the recent implementations of the Async workflows. This allows the continuations to be generated on-demand instead of having to create them at once.