`title` filter should accept objects.

In Jinja 2.6 it was possible to pass objects to the `title` filter and have them correctly resolved.

This behaviour regressed in 2.7.

This change restores the 2.6 behaviour of casting the passed value to a string using `soft_unicode`.