Adds a has_gravatar template filter.