Add a Template.render_blocks method

I wrote a method to render each block of a template, and return them all in a dict. Would you consider merging this in if it had proper tests/docs?