Add the index parameter to when.map()'s callback function, mapFunc.

If it is decided the inconsistency is to much to bear, here is a solution for issue #134