Allow pub_pipeline runner to use array-like results from handlers (or wrap in a new array). Closes troopjs/troopjs-core#127

Reformat tests code.