Upgrade junit to 4.11 in functional-tests

Need it for @Parameters(name = ...)
Added test in functional-tests for using a single stage group

- Now uses unique UUIDs as IDs to avoid tests interfering
- Extracted classes LinearPipelineBuilder and StageBuilder