fix several bugs in optimalBoundsPhase and fix up tests
move WorkflowBuilder emitters out of the type's companion
rename WorkflowBuilderM to M, ErrorOrX to EitherE
fix RenderTree[Attr]
convert JsExprPhase