GROOVY-6933: Add swap() to List and array.
Collections.swap() returns nothing, but this method returns this object.
Merge pull request #481 from yukoba/Swap

GROOVY-6933: Add swap() to List and array