Dropping in render stuff directly from PupTent.

entityx doesn't compile on Windows/Visual Studio, so let's just
cherry-pick some of the parts we liked for now.
Updated elements from PupTent to compile.
Whitespace.