Add FreeMarker support for PrettyTime localized relative date formatting

[PrettyTime](http://ocpsoft.org/prettytime) is a localized relative date formatter that is genuinely useful.

This PR adds a `${prettyTime(myDate)}` function to the FreeMarker template integration that respects the Locale preference of the request, just like the `${i18n('key')}` function.