Issue #251 patch

This change makes jinja2 title filter behave like Python's .title() function.