GROOVY-5924: Added @ClosureParams to
    * DGM#upto methods
    * DGM#dropWhile methods
    * DGM#eachWithIndex methods
    * added support for optional "index" in MapEntryOrKeyValue hint
    * added two eachWithIndex variants for the sake of type safety