Jinja2 pluralize filter, adapted from Django's pluralize filter.