Replace ensure_content_type with calls to get_webmention_target.

The two methods were doing essentially the same thing.