Added ability to specify {childen} as a function so that you can get access to the window object of the popout.
Added ability to specify {childen} as a function so that you can get access to the window object of the popout.

JakeGinnivan/react-popout