Rewrite render_component.js to use Promises.
Rewrite render_component.js to use Promises.

This was missed during the rewrite of the render method.

Test Plan:
Tests in webapp now pass!

Auditors: emily

Khan/react-render-server,Khan/react-render-server,Khan/react-render-server