generalised the foreach method on Fragment, Fragments, and Result
fixed a merge error
allow different context traits to be mixed in together
move deprecated Step and Action methods to the specification package
for compatibility
added missing 'in' methods to create examples
added a ForLoop page to explain how to create examples and results with foreach