Adding createElement

This is based off the work of @jnetterf in
https://github.com/Asana/typed-react/pull/24/files#diff-4
Merge pull request #3022 from Asana/create-element

Adding createElement