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

Fixes #1755

/cc @spicyj
FB style is:

```
    }).toThrow(
      'Invariant Violation: Expected `forEachFunc` to be a function, ' +
      'got undefined.'
    );
```