Make pipeline key $group recursive.

I am sure there is a bug in this, but its passing tests. Need to look
into it more.
Merge pull request #8 from scottymeuk/feature/recursive-group

Make pipeline key $group recursive.