Preparation for Glisten

provided better workflow and activity examples with unit tests
minor streamlining of the Glisten workflow API
Moved some useful client creation logic out of FlowService to be packaged as Glisten