Sync with latest WPCOM changes

Switch to common WPCOM RelatedPosts class to take advantage of better
performance and relevance tuning.