Make date handling more robust.

pubDate is now used for publication date when set.
post_date_gmt is used over post_date when set.