Issue #3012599 by mondrake, andypost: Replace all db calls to aggregator_feed and aggregator_item tables with Entity APIs (cherry picked from commit 1da1c2bf)