Check `ReactChildren.{map, forEach}` callback argument

Fixes #1755

/cc @spicyj
ah, one more thing (sorry!): can you actually write `ReactChildren.forEach: Expected ...` to give people a clue where to look even without the stack trace?