Article display for favorites, adjusted query

I implemented the home page article display code to work with
favorites, and I adjusted the search queries for articles both on the
home page and on the person page.