Layout if needed before rendering view to image
Merge pull request #14 from Yelp/acheung_AutolayoutTests

Layout if needed before rendering view to image