Make ReactTransitionGroup work with a null child

I believe this fixes what #814 was meant to fix.