changelog
allow client.transaction() to return the value of func based on kwarg. fix for #331