Renamed render method to renderLayout

This change allows the developer to specify if the layout is to be rendered with the page or not. Useful with applications that use simple one-page renders and renders with layouts.