Fix documentation unit tests for flow typing
Documentation for closure shared variables and advanced type inference
GROOVY-6867: Add init(), dropRight and takeRight() to List, Iterable and Object[]