Wait for any promises returned by a view's render method before considering the view created

This lets a view wait on children views to be created before considering itself created.

Thanks to @ssunkara for catching this.
Merge pull request #7081 from jasongrout/view-promises

Wait for any promises returned by a view's render method before considering the view created