Add a simple partial rendering feature

Many of the templates have double code in them, the new render_partial method should help reducing that.
Move some generic template code to partials
Add section about templates
Update HISTORY with partials feature
remove duplicate methods
Executable render_partial example. Make public method
Merge branch 'MGotink-implement_partials'

Closes #211